-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
docs: docstring for types/score #1903
Conversation
view (i.e. weak reference) from it or a deep copy from it. | ||
:param kwargs: other parameters to be set | ||
""" | ||
"""Set constructor.""" |
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.
why set?
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.
It has to be an imperative sentence. I don't know what else could be better wording; "define"?
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.
LGTM!
Codecov Report
@@ Coverage Diff @@
## master #1903 +/- ##
==========================================
- Coverage 84.39% 82.05% -2.34%
==========================================
Files 148 148
Lines 7062 7062
==========================================
- Hits 5960 5795 -165
- Misses 1102 1267 +165
Continue to review full report at Codecov.
|
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
return self._pb_body.ref_id | ||
|
||
@ref_id.setter | ||
def ref_id(self, val: str): | ||
self._pb_body.ref_id = val | ||
|
||
def set_attrs(self, **kwargs): | ||
"""Bulk update Document fields with key-value specified in kwargs | ||
"""Udate Document fields with key-value specified in kwargs. |
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.
'Udate' should be' Update' ?
:param copy: When ``score`` is given as a :class:`NamedScoreProto` object, build a | ||
view (i.e. weak reference) from it or a deep copy from it. | ||
:type copy: bool | ||
:param kwargs: Other parameters to be set |
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.
Missing a period at the end?
No description provided.