extract_dict_elements_from_component_fields#

langchain_community.utilities.clickup.extract_dict_elements_from_component_fields(data: dict, component: Type[Component]) dict[source]#

Extract elements from a dictionary.

Parameters:
  • data (dict) – The dictionary to extract elements from.

  • component (Type[Component]) – The component to extract elements from.

Returns:

A dictionary containing the elements from the input dictionary that are also in the component.

Return type:

dict