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 b675332 commit cc5b2cdCopy full SHA for cc5b2cd
labelbox/schema/dataset.py
@@ -10,6 +10,7 @@
10
11
logger = logging.getLogger(__name__)
12
13
+
14
class Dataset(DbObject, Updateable, Deletable):
15
""" A Dataset is a collection of DataRows.
16
@@ -212,6 +213,6 @@ def data_row_for_external_id(self, external_id):
212
213
limit=2)
214
if len(data_rows) > 1:
215
logger.warning(
- f"More than one data_row has the provided external_id : `%s`. Use function data_rows_for_external_id to fetch all", external_id
216
- )
+ f"More than one data_row has the provided external_id : `%s`. Use function data_rows_for_external_id to fetch all",
217
+ external_id)
218
return data_rows[0]
0 commit comments