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 3885688 commit 1ddcf65Copy full SHA for 1ddcf65
labelbox/schema/dataset.py
@@ -344,10 +344,10 @@ def convert_item(item):
344
345
# TODO: If any datarows contain metadata, we're limiting max # of datarows
346
# until we address performance issues with datarow create with metadata
347
- max_datarow_with_metadata = 30000
+ max_datarow_with_metadata = 2
348
if (len(items) > max_datarow_with_metadata):
349
for row in items:
350
- if row.get("metadata_fields"):
+ if 'metadata_fields' in row:
351
raise ValueError(
352
f"Cannot create more than {max_datarow_with_metadata} DataRows, if any DataRows contain metadata"
353
)
0 commit comments