-
-
Notifications
You must be signed in to change notification settings - Fork 63
In DynamicRinohDistribution, supply 'name' property with a unique value #270
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
…t value instead of deferring to parent class, which resolves the value from metadata that isn't present. Workaround for bpo-44459.
Codecov Report
@@ Coverage Diff @@
## master #270 +/- ##
=======================================
Coverage 73.66% 73.66%
=======================================
Files 90 90
Lines 14283 14285 +2
Branches 1967 1967
=======================================
+ Hits 10521 10523 +2
Misses 3381 3381
Partials 381 381
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Thanks! I wasn't aware @asottile opened a ticket over at python.org. I do appreciate the effort taken to make this PR, but I should let you know that it might not be a necessary change 😄. In bpo-44459, you say
However, I added the That said, I do agree that the empty string is suboptimal 😬 |
Yes, that's accurate. I was assuming that the issue was still present in the source code head. So please disregard what I'd said about the Python data model. And I'm glad to hear that the current implementation works. I'd still recommend to supply some name so that other "distributions" aren't de-duped against the empty string. |
Merged in ad38d25 |
Supplies a text value instead of deferring to parent class, which resolves the value from metadata that isn't present. Workaround for bpo-44459.