get_pydantic_major_version#

langchain.utils.pydantic.get_pydantic_major_version() int[source]#

Get the major version of Pydantic.

Returns:

The major version of Pydantic.

Return type:

int