python-dependency-injector icon indicating copy to clipboard operation
python-dependency-injector copied to clipboard

Added support for pydantic-settings in Configuration.from_pydantic()

Open tsaryapkin opened this issue 1 year ago • 6 comments

  • 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.

tsaryapkin avatar Nov 26 '23 10:11 tsaryapkin

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 !

apollo17m avatar Nov 29 '23 16:11 apollo17m

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!

martinkozle avatar Dec 05 '23 12:12 martinkozle

Hi @rmk135

Any plans to merge this soon?

Thank you

zahycs avatar Dec 18 '23 11:12 zahycs

Hi @rmk135 @tsaryapkin,

Could you please review the changes and merge the updates if possible? This issue needs to be solved)

pow3rpi avatar Jun 28 '24 23:06 pow3rpi