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
httpx
fastapi
pydantic
pydantic-settings
numpy
scipy
boto3

View File

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

View File

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

View File

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