@@ -24,6 +24,7 @@ class Dataset(DbObject, Updateable, Deletable):
2424
2525 def create_data_row (self , ** kwargs ):
2626 """ Creates a single DataRow belonging to this dataset.
27+
2728 Kwargs:
2829 Key-value arguments containing new `DataRow` data.
2930 At a minimum they must contain `row_data`. The value for
@@ -63,17 +64,17 @@ def create_data_rows(self, items):
6364 Args:
6465 items (iterable of (dict or str)): See above for details.
6566
66- Return :
67+ Returns :
6768 Task representing the data import on the server side. The Task
6869 can be used for inspecting task progress and waiting until it's done.
6970
70- Raise :
71- InvalidQueryError: if the `items` parameter does not conform to
71+ Raises :
72+ InvalidQueryError: If the `items` parameter does not conform to
7273 the specification above or if the server did not accept the
7374 DataRow creation request (unknown reason).
74- ResourceNotFoundError: if unable to retrieve the Task for the
75+ ResourceNotFoundError: If unable to retrieve the Task for the
7576 import process. This could imply that the import failed.
76- InvalidAttributeError: if there are fields in `items` not valid for
77+ InvalidAttributeError: If there are fields in `items` not valid for
7778 a DataRow.
7879 """
7980 file_upload_thread_count = 20
@@ -153,7 +154,7 @@ def data_row_for_external_id(self, external_id):
153154 A single `DataRow` with the given ID.
154155
155156 Raises:
156- labelbox.exceptions.ResourceNotFoundError: if there is no `DataRow`
157+ labelbox.exceptions.ResourceNotFoundError: If there is no `DataRow`
157158 in this `DataSet` with the given external ID, or if there are
158159 multiple `DataRows` for it.
159160 """
0 commit comments