File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
tests/data/annotation_import Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -606,11 +606,6 @@ def upsert_data_rows(
606
606
>>> ])
607
607
>>> task.wait_till_done()
608
608
"""
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
-
614
609
specs = DataRowUpsertItem .build (self .uid , items )
615
610
return self ._exec_upsert_data_rows (specs , file_upload_thread_count )
616
611
Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ def test_model_run_split_assignment_by_data_row_ids(
174
174
data_rows = dataset .create_data_rows ([{
175
175
"row_data" : image_url
176
176
} for _ in range (n_data_rows )])
177
+ data_rows .wait_till_done ()
177
178
data_row_ids = [data_row ['id' ] for data_row in data_rows .result ]
178
179
configured_project_with_one_data_row ._wait_until_data_rows_are_processed (
179
180
data_row_ids = data_row_ids )
You can’t perform that action at this time.
0 commit comments