erhosen-libs / pydjantic

Use Pydantic Settings in your Django application.
MIT License
36 stars 9 forks source link

Bump Pydantic to v2.5.2 (latest) #19

Closed andrey-lepekhin closed 9 months ago

codecov-commenter commented 9 months ago

Codecov Report

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

Comparison is base (861c165) 100.00% compared to head (3de8fc6) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #19 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 2 2 Lines 40 42 +2 ========================================= + Hits 40 42 +2 ```

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

andrey-lepekhin commented 9 months ago

There are warnings from Pydantic triggered by val.model_dump() in pydjantic.py. They are shown on Django server start, during settings creation.

The warnings look like this:

UserWarning: Pydantic serializer warnings:
    Expected `str` but got `dict` - serialized value may not be as expected

As far as I understand this is the same issue here and it's being investigated.