fix: 🐛 SQLAlchemy import error (#3716)

During the import of langchain, SQLAlchemy was throeing an errror
`ImportError: cannot import name 'Mapped' from 'sqlalchemy.orm'`. This
is becaue the Mapped name was introduced in v1.4
fix_agent_callbacks
Akhil Vempali 1 year ago committed by GitHub
parent f8d69e4e52
commit 64ba24292d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ langchain-server = "langchain.server:main"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
pydantic = "^1"
SQLAlchemy = ">1.3,<3"
SQLAlchemy = ">1.4,<3"
requests = "^2"
PyYAML = ">=5.4.1"
numpy = "^1"

Loading…
Cancel
Save