Skip to content

Commit d1fdba5

Browse files
authored
Update dataset.py
1 parent fe4b191 commit d1fdba5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,7 @@ def create_data_row(self, items=None, **kwargs) -> "DataRow":
169169
def _create_data_rows_sync(
170170
self, items, file_upload_thread_count=FILE_UPLOAD_THREAD_COUNT
171171
) -> "DataUpsertTask":
172-
max_data_rows_supported = 1000
173-
if len(items) > max_data_rows_supported:
174-
raise ValueError(
175-
f"Dataset._create_data_rows_sync() supports a max of {max_data_rows_supported} data rows."
176-
" For larger imports use the async function Dataset.create_data_rows()"
177-
)
172+
178173
if file_upload_thread_count < 1:
179174
raise ValueError(
180175
"file_upload_thread_count must be a positive integer"

0 commit comments

Comments
 (0)