langchain_community.utilities.clickup.parse_dict_through_component¶

langchain_community.utilities.clickup.parse_dict_through_component(data: dict, component: Type[Component], fault_tolerant: bool = False) Dict[source]¶

Parse a dictionary by creating a component and then turning it back into a dictionary.

This helps with two things 1. Extract and format data from a dictionary according to schema 2. Provide a central place to do this in a fault-tolerant way

Parameters
  • data (dict) –

  • component (Type[Component]) –

  • fault_tolerant (bool) –

Return type

Dict