openclimatefix / ocf_datapipes

OCF's DataPipe based dataloader for training and inference
MIT License
13 stars 11 forks source link

Issue/pydantic 2 #269

Closed peterdudfield closed 5 months ago

peterdudfield commented 5 months ago

Pull Request

Description

Update to pydantic>2.0, had to update the configuration model

How Has This Been Tested?

CI tests

Checklist:

codecov[bot] commented 5 months ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (7cb5f2d) 76.26% compared to head (f402fd1) 76.26%.

Files Patch % Lines
ocf_datapipes/config/model.py 94.87% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #269 +/- ## ======================================= Coverage 76.26% 76.26% ======================================= Files 122 122 Lines 5767 5767 ======================================= Hits 4398 4398 Misses 1369 1369 ```

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

dfulu commented 5 months ago

Looks good, thanks for doing this update!