Skip to content

Conversation

@Zaharid
Copy link
Owner

@Zaharid Zaharid commented Mar 4, 2025

Use get_type_hints instead of the raw annotations to resolve references within dataclasses, namedtuples and typed dicts.

Use get_type_hints instead of the raw annotations to resolve references
within dataclasses, namedtuples and typed dicts.
@codecov-commenter
Copy link

⚠️ 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 98.86%. Comparing base (82a214f) to head (4af468d).

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

Additional details and impacted files
@@             Coverage Diff             @@
##            master      #14      +/-   ##
===========================================
- Coverage   100.00%   98.86%   -1.14%     
===========================================
  Files            9        9              
  Lines          588      616      +28     
===========================================
+ Hits           588      609      +21     
- Misses           0        7       +7     
Flag Coverage Δ
unittests 98.86% <100.00%> (-1.14%) ⬇️

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.

@virtuald
Copy link

virtuald commented Mar 5, 2025

If get_type_hints doesn't work on older versions of python, it might be worth adding typing_extensions to get support for those older versions until you drop support for them?

@Zaharid Zaharid closed this Dec 17, 2025
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.

4 participants