mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-06 13:18:12 +00:00
Vwp/sqlalchemy (#4145)
Bump threshold to 1.4 from 1.3. Change import to be compatible Resolves #4142 and #4129 --------- Co-authored-by: ndaugreal <ndaugreal@gmail.com> Co-authored-by: Jeremy Lopez <lopez86@users.noreply.github.com>
This commit is contained in:
parent
2f087d63af
commit
fea639c1fc
@ -6,7 +6,6 @@ from typing import Any, Iterable, List, Optional
|
|||||||
|
|
||||||
import sqlalchemy
|
import sqlalchemy
|
||||||
from sqlalchemy import (
|
from sqlalchemy import (
|
||||||
CursorResult,
|
|
||||||
MetaData,
|
MetaData,
|
||||||
Table,
|
Table,
|
||||||
create_engine,
|
create_engine,
|
||||||
@ -14,7 +13,7 @@ from sqlalchemy import (
|
|||||||
select,
|
select,
|
||||||
text,
|
text,
|
||||||
)
|
)
|
||||||
from sqlalchemy.engine import Engine
|
from sqlalchemy.engine import CursorResult, Engine
|
||||||
from sqlalchemy.exc import ProgrammingError, SQLAlchemyError
|
from sqlalchemy.exc import ProgrammingError, SQLAlchemyError
|
||||||
from sqlalchemy.schema import CreateTable
|
from sqlalchemy.schema import CreateTable
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ langchain-server = "langchain.server:main"
|
|||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = ">=3.8.1,<4.0"
|
python = ">=3.8.1,<4.0"
|
||||||
pydantic = "^1"
|
pydantic = "^1"
|
||||||
SQLAlchemy = ">=1.3,<3"
|
SQLAlchemy = ">=1.4,<3"
|
||||||
requests = "^2"
|
requests = "^2"
|
||||||
PyYAML = ">=5.4.1"
|
PyYAML = ">=5.4.1"
|
||||||
numpy = "^1"
|
numpy = "^1"
|
||||||
|
Loading…
Reference in New Issue
Block a user