Skip to content

Commit 465b96f

Browse files
authored
Merge pull request #229 from Labelbox/gs/fix-sleep-time-bir
Lowered default sleep_time_seconds to 5 in BulkImportRequest.wait_until_done
2 parents 71d3643 + bf31510 commit 465b96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/bulk_import_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def refresh(self) -> None:
192192
res = res[utils.camel_case(BulkImportRequest.type_name())]
193193
self._set_field_values(res)
194194

195-
def wait_until_done(self, sleep_time_seconds: int = 30) -> None:
195+
def wait_until_done(self, sleep_time_seconds: int = 5) -> None:
196196
"""Blocks import job until certain conditions are met.
197197
198198
Blocks until the BulkImportRequest.state changes either to

0 commit comments

Comments
 (0)