-
Notifications
You must be signed in to change notification settings - Fork 668
chore: have _create_attrs & _update_attrs be a namedtuple #1366
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
chore: have _create_attrs & _update_attrs be a namedtuple #1366
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1366 +/- ##
==========================================
+ Coverage 79.92% 79.94% +0.01%
==========================================
Files 73 73
Lines 4010 4013 +3
==========================================
+ Hits 3205 3208 +3
Misses 805 805
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Breaking this up into smaller pieces. |
@nejch Updated this with your feedback. |
Convert _create_attrs and _update_attrs to use a NamedTuple (RequiredOptional) to help with code readability. Update all code to use the NamedTuple.
Thanks a lot for the hard work here, looks a lot clearer than the old code! Sorry for the delay, again :) |
Oh! Whoops on my part leaving the Thanks for the merge! |
Convert _create_attrs and _update_attrs to use a NamedTuple
(RequiredOptional) to help with code readability. Update all code to
use the NamedTuple.