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