We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab7ebe9 commit 16841e8Copy full SHA for 16841e8
labelbox/schema/dataset.py
@@ -191,6 +191,10 @@ def convert_item(item):
191
for key, value in item.items()
192
}
193
194
+ if not isinstance(items, list):
195
+ raise ValueError(
196
+ f"Must pass a list to create_data_rows. Found {type(items)}")
197
+
198
with ThreadPoolExecutor(file_upload_thread_count) as executor:
199
futures = [executor.submit(convert_item, item) for item in items]
200
items = [future.result() for future in as_completed(futures)]
0 commit comments