metno / pyaerocom

Python tools for the AeroCom project
https://pyaerocom.readthedocs.io/
GNU General Public License v3.0
23 stars 13 forks source link

fix pydantic warning #1225

Closed heikoklein closed 2 weeks ago

heikoklein commented 2 weeks ago

Change Summary

Pydantic gives warning messages about serializer errors and wrong type confusing the users.

Related issue number

Problem mentioned in #1066

Checklist

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 79.31%. Comparing base (a65f838) to head (e992544). Report is 5 commits behind head on main-dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main-dev #1225 +/- ## ========================================= Coverage 79.30% 79.31% ========================================= Files 131 131 Lines 20236 20234 -2 ========================================= Hits 16048 16048 + Misses 4188 4186 -2 ``` | [Flag](https://app.codecov.io/gh/metno/pyaerocom/pull/1225/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=metno) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/metno/pyaerocom/pull/1225/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=metno) | `79.31% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=metno#carryforward-flags-in-the-pull-request-comment) to find out more.

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