python-dependency-injector
python-dependency-injector copied to clipboard
Added support for pydantic-settings in Configuration.from_pydantic()
-
Configuration
provider can be initialised via from_pydantic method from both pydantic.BaseSettings (pydantic v1) and pydantic_settings.BaseSettings (based on pydantic v2). - I also specified flask and Werkzeug (used by flask) versions because the latest version of flask seems to be incompatible with the library and lots of tests failed.
Hey @tsaryapkin , @rmk135
@tsaryapkin Thanks a lot for this update, I'm currently blocked from using this lib with a new project because of this issue and this would help a lot.
@rmk135 Is it possible to review this PR soon ?
Thanks !
Hey @tsaryapkin , @rmk135
@tsaryapkin Thanks a lot for this update, I'm currently blocked from using this lib with a new project because of this issue and this would help a lot.
@rmk135 Is it possible to review this PR soon ?
Thanks !
I second this!
Hi @rmk135
Any plans to merge this soon?
Thank you
Hi @rmk135 @tsaryapkin,
Could you please review the changes and merge the updates if possible? This issue needs to be solved)