Skip to content

Commit 7b15f47

Browse files
authored
[SDK-3] Change return of dataset.create_data_rows() to Task (#1237)
2 parents 8196153 + 31dde14 commit 7b15f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def create_data_rows_sync(self, items) -> None:
239239
url_param: descriptor_url
240240
})
241241

242-
def create_data_rows(self, items) -> Union["Task", List[Any]]:
242+
def create_data_rows(self, items) -> "Task":
243243
""" Asynchronously bulk upload data rows
244244
245245
Use this instead of `Dataset.create_data_rows_sync` uploads for batches that contain more than 1000 data rows.

0 commit comments

Comments
 (0)