euanwm / OpenWeightlifting

Repository that is deployed for the OpenWeightlifting site
https://www.openweightlifting.org
BSD 3-Clause "New" or "Revised" License
33 stars 21 forks source link

fix/nvf scraper fails #370

Closed euanwm closed 3 months ago

euanwm commented 3 months ago

None value was stored / passed directly from the NVF results server in the JSON. Added a simple / lazy / dumb function post-init of the dataclass to catch if a None value is passed into the lift attempts.

closes #355

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 76.78%. Comparing base (a27bb67) to head (58a529c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #370 +/- ## ============================================ Coverage 76.78% 76.78% ============================================ Files 18 18 Lines 573 573 Branches 6 6 ============================================ Hits 440 440 Misses 120 120 Partials 13 13 ```

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