Skip to content

Commit 5ff6529

Browse files
author
Val Brodsky
committed
Update docstrings
1 parent 9cc14e5 commit 5ff6529

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libs/labelbox/src/labelbox/schema/dataset.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def create_data_row(self, items=None, **kwargs) -> "DataRow":
139139
in `kwargs`.
140140
InvalidAttributeError: in case the DB object type does not contain
141141
any of the field names given in `kwargs`.
142-
142+
ResourceCreationError: If data row creation failed on the server side.
143143
"""
144144
file_upload_thread_count = 1
145145
args = items if items is not None else kwargs
@@ -184,8 +184,7 @@ def create_data_rows_sync(
184184
None. If the function doesn't raise an exception then the import was successful.
185185
186186
Raises:
187-
ResourceCreationError: Errors in data row upload
188-
InvalidQueryError: If the `items` parameter does not conform to
187+
ResourceCreationError: If the `items` parameter does not conform to
189188
the specification in Dataset._create_descriptor_file or if the server did not accept the
190189
DataRow creation request (unknown reason).
191190
InvalidAttributeError: If there are fields in `items` not valid for

0 commit comments

Comments
 (0)