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
fix(types): fix extend in docset #1883
Conversation
raise BadDocType('Each chunk should have the same granularity.') | ||
self.chunks.extend(chunks) | ||
|
||
# in case chunks have granularity defined, override |
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.
a warning should be raised if something is overriden for the user?
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.
this is your original logic in the code, which I found hard to understand.
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.
i keep it as it is as your original does not raise warning
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.
this is your original logic in the code, which I found hard to understand.
to be clear, I'm against the logic that a child granularity can decide parent's granularity
Codecov Report
@@ Coverage Diff @@
## master #1883 +/- ##
==========================================
- Coverage 86.28% 86.15% -0.14%
==========================================
Files 147 147
Lines 7006 7011 +5
==========================================
- Hits 6045 6040 -5
- Misses 961 971 +10
Continue to review full report at Codecov.
|
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
No description provided.