♻️ Use of pydantic to manage config+env variables
FastAPI release has been updated allowing to use lifespan parameter to prepare/shutdown sub components.
This commit is contained in:
@@ -11,7 +11,7 @@ python = "^3.11"
|
||||
aiohttp = "^3.8.3"
|
||||
rich = "^12.6.0"
|
||||
aiofiles = "^22.1.0"
|
||||
fastapi = "^0.88.0"
|
||||
fastapi = "^0.95.0"
|
||||
uvicorn = "^0.20.0"
|
||||
msgspec = "^0.12.0"
|
||||
pyshp = "^2.3.1"
|
||||
@@ -25,6 +25,7 @@ opentelemetry-exporter-otlp-proto-http = "^1.17.0"
|
||||
opentelemetry-instrumentation-sqlalchemy = "^0.38b0"
|
||||
sqlalchemy = "^2.0.12"
|
||||
psycopg = "^3.1.9"
|
||||
pyyaml = "^6.0"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
@@ -48,6 +49,7 @@ yapf = "^0.32.0"
|
||||
whatthepatch = "^1.0.4"
|
||||
mypy = "^1.0.0"
|
||||
types-sqlalchemy-utils = "^1.0.1"
|
||||
types-pyyaml = "^6.0.12.9"
|
||||
|
||||
[tool.mypy]
|
||||
plugins = "sqlalchemy.ext.mypy.plugin"
|
||||
|
Reference in New Issue
Block a user