Skip to content

Commit 58ed7f4

Browse files
author
Val Brodsky
committed
Remove 150K data rows limitation
1 parent e0d458c commit 58ed7f4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

libs/labelbox/src/labelbox/schema/dataset.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -606,11 +606,6 @@ def upsert_data_rows(
606606
>>> ])
607607
>>> task.wait_till_done()
608608
"""
609-
if len(items) > MAX_DATAROW_PER_API_OPERATION:
610-
raise MalformedQueryException(
611-
f"Cannot upsert more than {MAX_DATAROW_PER_API_OPERATION} DataRows per function call."
612-
)
613-
614609
specs = DataRowUpsertItem.build(self.uid, items)
615610
return self._exec_upsert_data_rows(specs, file_upload_thread_count)
616611

libs/labelbox/tests/data/annotation_import/test_model_run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ def test_model_run_split_assignment_by_data_row_ids(
174174
data_rows = dataset.create_data_rows([{
175175
"row_data": image_url
176176
} for _ in range(n_data_rows)])
177+
data_rows.wait_till_done()
177178
data_row_ids = [data_row['id'] for data_row in data_rows.result]
178179
configured_project_with_one_data_row._wait_until_data_rows_are_processed(
179180
data_row_ids=data_row_ids)

0 commit comments

Comments
 (0)