Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade for better dataclass support #11

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

ajatkj
Copy link
Owner

@ajatkj ajatkj commented Mar 8, 2024

  • Re-written core logic a bit for full dataclass support (by retaining the original init method)
  • Support for InitVars
  • Fix for getting annotations using get_type_hints to support import of annotation from future

Copy link

codecov bot commented Mar 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f53e12b) to head (138672e).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          179       209   +30     
=========================================
+ Hits           179       209   +30     

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

@ajatkj ajatkj merged commit 649ea92 into main Mar 8, 2024
20 checks passed
@ajatkj
Copy link
Owner Author

ajatkj commented Mar 8, 2024

Fixes #9 and #10
Will release the package soon.

@ajatkj ajatkj self-assigned this Mar 8, 2024
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.

1 participant