get_pydantic_major_version#

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

DEPRECATED - Get the major version of Pydantic.

Use PYDANTIC_VERSION.major instead.

Returns:

The major version of Pydantic.

Return type:

int