Skip to content

Commit 86a3d37

Browse files
author
Matt Sokoloff
committed
test
1 parent 53247b9 commit 86a3d37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labelbox/schema/dataset.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def create_data_rows(self, items):
118118
"""
119119
file_upload_thread_count = 20
120120
DataRow = Entity.DataRow
121+
AssetAttachment = Entity.AssetAttachment
121122

122123
def upload_if_necessary(item):
123124
row_data = item['row_data']
@@ -135,7 +136,7 @@ def validate_attachments(item):
135136
if attachments:
136137
if isinstance(attachments, list):
137138
for attachment in attachments:
138-
Entity.AssetAttachment.validate_attachment_json(
139+
AssetAttachment.validate_attachment_json(
139140
attachment)
140141
else:
141142
raise ValueError(

0 commit comments

Comments
 (0)