Skip to content
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

Improve record_lost_event parameter documentation #3248

Closed
szokeasaurusrex opened this issue Jul 4, 2024 · 0 comments · Fixed by #3244
Closed

Improve record_lost_event parameter documentation #3248

szokeasaurusrex opened this issue Jul 4, 2024 · 0 comments · Fixed by #3244
Assignees

Comments

@szokeasaurusrex
Copy link
Member

data_category and item are mutually exclusive; only one should be provided at a time.

def record_lost_event(
self,
reason, # type: str
data_category=None, # type: Optional[str]
item=None, # type: Optional[Item]
):
# type: (...) -> None
"""This increments a counter for event loss by reason and
data category.
"""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant