feat: Add AsyncSession support for non-blocking db operations (#4408)

* Add AsyncSession support for non-blocking db operations

* Use sqlalchemy extras
This commit is contained in:
Christophe Bornet 2024-11-06 12:21:53 +01:00 • committed by GitHub
commit e853a13d57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 641 additions and 100 deletions

View file

@ -38,7 +38,6 @@ dependencies = [
"huggingface-hub[inference]>=0.23.2",
"networkx>=3.1",
"fake-useragent>=1.5.0",
"psycopg2-binary>=2.9.6",
"pyarrow>=14.0.0",
"wikipedia>=1.4.0",
"qdrant-client~=1.9.2",
@ -49,7 +48,6 @@ dependencies = [
"pymongo>=4.6.0",
"supabase~=2.6.0",
"certifi>=2023.11.17,<2025.0.0",
"psycopg>=3.1.9",
"fastavro>=1.8.0",
"redis>=5.0.1",
"metaphor-python>=0.1.11",
@ -111,6 +109,7 @@ dependencies = [
"langchain-elasticsearch>=0.2.0",
"langchain-ollama>=0.2.0",
"pymupdf~=1.24.13",
"sqlalchemy[aiosqlite,postgresql_psycopg2binary,postgresql_psycopgbinary]>=2.0.36"
]
[project.urls]