is_pydantic_v2_subclass#

langchain_core.utils.pydantic.is_pydantic_v2_subclass(cls: type) bool[source]#

Check if the installed Pydantic version is 1.x-like.

Parameters:

cls (type)

Return type:

bool