-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PY-398] Polling on Item Push (#708)
* update Meta Stage obj - add an optional wait arg to wait for item processing_status, update Meta Workflow obj - fix dataset stage * update test_stagemeta.py - add test for `wait=True` * update stage.py - ran `black` * update workflow meta object - raising `MissingDataset` when dataset stage not found * update workflow meta object - fix ruff f-string * update Stage meta object - implement retries when checking all-items-complete * rewrite `check_all_items_complete` logic in an attempt to lower len(item_ids) APIs calls + minor improvements * minor fix for a typo * update stage meta class - wait logic fix
- Loading branch information
Showing
5 changed files
with
140 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from darwin.future.core.items.get import get_item_ids, get_item_ids_stage | ||
from darwin.future.core.items.get import get_item, get_item_ids, get_item_ids_stage | ||
from darwin.future.core.items.move_items import move_items_to_stage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters