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.

Return type:

int