Replacing pydantic dependency with pydantic_settings

This commit is contained in:
Subhadeep Das 2024-07-10 09:54:29 +05:30 committed by GitHub
parent cc2304e46e
commit d5c323b2d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ mypy
pyyaml pyyaml
httpx httpx
fastapi fastapi
pydantic pydantic-settings
numpy numpy
scipy scipy
boto3 boto3

View File

@ -76,7 +76,7 @@ setup(name="dependency-injector",
"pyyaml", "pyyaml",
], ],
"pydantic": [ "pydantic": [
"pydantic", "pydantic-settings",
], ],
"flask": [ "flask": [
"flask", "flask",

View File

@ -27,7 +27,7 @@ except ImportError:
yaml = None yaml = None
try: try:
import pydantic import pydantic_settings as pydantic
except ImportError: except ImportError:
pydantic = None pydantic = None

View File

@ -16,7 +16,7 @@ deps=
mypy_boto3_s3 mypy_boto3_s3
extras= extras=
yaml yaml
pydantic pydantic-settings
flask flask
aiohttp aiohttp
commands = pytest -c tests/.configs/pytest.ini commands = pytest -c tests/.configs/pytest.ini