get_pydantic_field_names#

langchain_core.utils.utils.get_pydantic_field_names(pydantic_cls: Any) Set[str][source]#

Get field names, including aliases, for a pydantic class.

Parameters:

pydantic_cls (Any) – Pydantic class.

Returns:

Field names.

Return type:

Set[str]