-
-
Notifications
You must be signed in to change notification settings - Fork 76
Improve address type hint #130
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
Conversation
…ted automatically within a f-string
Updates
|
Codecov Report
@@ Coverage Diff @@
## main #130 +/- ##
==========================================
- Coverage 85.99% 85.98% -0.02%
==========================================
Files 25 25
Lines 2707 2711 +4
Branches 522 524 +2
==========================================
+ Hits 2328 2331 +3
Misses 285 285
- Partials 94 95 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
UPDATE. an internal use only limit_primitive_type() helper decorator is added to reduce repeated code UPDATE. specifying exact input type for child from_primitive()
I tried introducing I think the cleanest solution is to declare Also, I am keeping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
limit_primitive_type
looks very neat. Thanks for the change!
Goal: