mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 01:26:51 +03:00
Replacing pydantic dependency with pydantic_settings
This commit is contained in:
parent
cc2304e46e
commit
d5c323b2d8
|
@ -11,7 +11,7 @@ mypy
|
|||
pyyaml
|
||||
httpx
|
||||
fastapi
|
||||
pydantic
|
||||
pydantic-settings
|
||||
numpy
|
||||
scipy
|
||||
boto3
|
||||
|
|
2
setup.py
2
setup.py
|
@ -76,7 +76,7 @@ setup(name="dependency-injector",
|
|||
"pyyaml",
|
||||
],
|
||||
"pydantic": [
|
||||
"pydantic",
|
||||
"pydantic-settings",
|
||||
],
|
||||
"flask": [
|
||||
"flask",
|
||||
|
|
|
@ -27,7 +27,7 @@ except ImportError:
|
|||
yaml = None
|
||||
|
||||
try:
|
||||
import pydantic
|
||||
import pydantic_settings as pydantic
|
||||
except ImportError:
|
||||
pydantic = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user