-
Notifications
You must be signed in to change notification settings - Fork 68
Add logic to upload labels by project id to model run #959
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
458c7e3 to
e591dfd
Compare
e591dfd to
2070372
Compare
kkim-labelbox
left a comment
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.
Left some comments. Nice job!
labelbox/schema/model_run.py
Outdated
|
|
||
| def _upsert_labels_by_label_ids(self, | ||
| label_ids: List[str], | ||
| timeout_seconds=3600): |
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.
We don't need timeout_seconds here, since it's provided by the top-level function
e3adf57 to
c260c8d
Compare
c260c8d to
978cb46
Compare
kkim-labelbox
left a comment
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, nice test cases
Stories: https://labelbox.atlassian.net/browse/AL-2960
This updates the ModelRun#upsert_labels as per this TDD section
NOTE: includes some corrections YAPF made me do