Skip to content

Conversation

@Zaharid
Copy link
Owner

@Zaharid Zaharid commented Dec 18, 2025

The workaround for

python/cpython#137891

is more complicated than just accessing the __annotations__ of the dataclass instead of field.type. Indeed one has to also process all the base classes. Add a test for derived classes as well.

Closes #16.

The workaround for

python/cpython#137891

is more complicated than just accessing the __annotations__ of the
dataclass instead of field.type. Indeed one has to also process all the
base classes. Add a test for derived classes as well.
@codecov-commenter
Copy link

codecov-commenter commented Dec 18, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.84%. Comparing base (e16fd5b) to head (39b58bb).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #17   +/-   ##
=======================================
  Coverage   99.83%   99.84%           
=======================================
  Files          10       10           
  Lines         620      643   +23     
=======================================
+ Hits          619      642   +23     
  Misses          1        1           
Flag Coverage Δ
unittests 99.84% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Zaharid Zaharid merged commit 8ba582e into master Dec 18, 2025
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parse_input fails with KeyError instead of validation error

3 participants