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 53247b9 commit 86a3d37Copy full SHA for 86a3d37
labelbox/schema/dataset.py
@@ -118,6 +118,7 @@ def create_data_rows(self, items):
118
"""
119
file_upload_thread_count = 20
120
DataRow = Entity.DataRow
121
+ AssetAttachment = Entity.AssetAttachment
122
123
def upload_if_necessary(item):
124
row_data = item['row_data']
@@ -135,7 +136,7 @@ def validate_attachments(item):
135
136
if attachments:
137
if isinstance(attachments, list):
138
for attachment in attachments:
- Entity.AssetAttachment.validate_attachment_json(
139
+ AssetAttachment.validate_attachment_json(
140
attachment)
141
else:
142
raise ValueError(
0 commit comments