-
Notifications
You must be signed in to change notification settings - Fork 68
[AL-0] SDK support for clear global keys #773
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
labelbox/client.py
Outdated
global_keys: List[str], | ||
timeout_seconds=60) -> Dict[str, Union[str, List[Any]]]: | ||
""" | ||
Gets data row ids for a list of global keys. |
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.
Docstring should be updated
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.
yeah, I just copypasted for the format. We should work on an informative docstring.
labelbox/client.py
Outdated
clear_global_keys_job["clearGlobalKeys"]["jobId"] | ||
} | ||
|
||
def _format_failed_rows(rows: List[str], |
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.
Nit: Could you define all helper functions right after the docstring?
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.
Sure!
d64e3d0
to
9634b7b
Compare
No description provided.