Support for pydantic-settings #617
Closed
siddhesh1981
started this conversation in
Feature Request
Replies: 1 comment 1 reply
-
Hi! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently Beanie supports "pydantic>=1.10.0,<2.0.0". Pydantic-settings which allows settings management using pydantic and has a good support for loading environment variables, only supports pydantic>=2.0.1.
It will be great if Beanie starts supporting pydantic=2.0.1 or greater, so that the new improved way of getting environment variables can be incorporated in fastapi projects that need beanie, using pydantic-settings.
Reference:
https://fastapi.tiangolo.com/ru/advanced/settings/
https://pypi.org/project/pydantic-settings/
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions