initial commit
This commit is contained in:
13
venv/Lib/site-packages/langchain_classic/utils/pydantic.py
Normal file
13
venv/Lib/site-packages/langchain_classic/utils/pydantic.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from langchain_core.utils.pydantic import PYDANTIC_VERSION
|
||||
|
||||
|
||||
def get_pydantic_major_version() -> int:
|
||||
"""Get the major version of Pydantic.
|
||||
|
||||
Returns:
|
||||
The major version of Pydantic.
|
||||
"""
|
||||
return PYDANTIC_VERSION.major
|
||||
|
||||
|
||||
__all__ = ["get_pydantic_major_version"]
|
||||
Reference in New Issue
Block a user