Skip to content

Conversation

@vbrodsky
Copy link
Contributor

@vbrodsky vbrodsky commented Mar 2, 2023

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

@vbrodsky vbrodsky added the hold do not review yet! label Mar 2, 2023
@vbrodsky vbrodsky force-pushed the VB/upsert-labels-from-project_AL-2960 branch from 458c7e3 to e591dfd Compare March 2, 2023 21:07
@vbrodsky vbrodsky removed the hold do not review yet! label Mar 2, 2023
@vbrodsky vbrodsky force-pushed the VB/upsert-labels-from-project_AL-2960 branch from e591dfd to 2070372 Compare March 2, 2023 22:19
Copy link
Contributor

@kkim-labelbox kkim-labelbox left a 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!


def _upsert_labels_by_label_ids(self,
label_ids: List[str],
timeout_seconds=3600):
Copy link
Contributor

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

@vbrodsky vbrodsky force-pushed the VB/upsert-labels-from-project_AL-2960 branch 7 times, most recently from e3adf57 to c260c8d Compare March 5, 2023 22:28
@vbrodsky vbrodsky force-pushed the VB/upsert-labels-from-project_AL-2960 branch from c260c8d to 978cb46 Compare March 8, 2023 20:45
Copy link
Contributor

@kkim-labelbox kkim-labelbox left a 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

@vbrodsky vbrodsky merged commit 3e701a4 into develop Mar 9, 2023
@vbrodsky vbrodsky deleted the VB/upsert-labels-from-project_AL-2960 branch March 9, 2023 00:43
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 this pull request may close these issues.

4 participants