Skip to content

Commit cfec417

Browse files
committed
update to remove the check on if it is a list
1 parent b255334 commit cfec417

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

labelbox/schema/dataset.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,6 @@ def convert_item(item):
298298
for key, value in item.items()
299299
}
300300

301-
if not isinstance(items, list):
302-
raise ValueError(
303-
f"Must pass a list to create_data_rows. Found {type(items)}")
304-
305301
with ThreadPoolExecutor(file_upload_thread_count) as executor:
306302
futures = [executor.submit(convert_item, item) for item in items]
307303
items = [future.result() for future in as_completed(futures)]

0 commit comments

Comments
 (0)