pydantic / pydantic-settings

Settings management using pydantic
https://docs.pydantic.dev/latest/usage/pydantic_settings/
MIT License
508 stars 50 forks source link

Fix InitSource bug in case of nested model using alias #240

Closed hramezani closed 5 months ago

hramezani commented 5 months ago

Fixes https://github.com/pydantic/pydantic-settings/issues/239

@g3n35i5 Could you please test and confirm the fix?

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (859805a) 97.65% compared to head (6307f40) 97.65%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #240 +/- ## ======================================= Coverage 97.65% 97.65% ======================================= Files 5 5 Lines 426 426 Branches 90 90 ======================================= Hits 416 416 Misses 7 7 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.