Skip to content

Commit 0a5d824

Browse files
author
Val Brodsky
committed
Add deprecation
1 parent c050da2 commit 0a5d824

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

labelbox/schema/project.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ def move_data_rows_to_task_queue(self, data_row_ids, task_queue_id: str):
13951395
13961396
Args:
13971397
data_row_ids: a list of data row ids to be moved. This can be a list of strings or a DataRowIdentifiers object
1398-
DataRowIdentifier objects are lists of ids or global keys
1398+
DataRowIdentifier objects are lists of ids or global keys. A DataIdentifier object can be a UniqueIds or GlobalKeys class.
13991399
task_queue_id: the task queue id to be moved to, or None to specify the "Done" queue
14001400
14011401
Returns:
@@ -1404,6 +1404,8 @@ def move_data_rows_to_task_queue(self, data_row_ids, task_queue_id: str):
14041404
"""
14051405
if isinstance(data_row_ids, list):
14061406
data_row_ids = UniqueIds.strings_to_identifiable(data_row_ids)
1407+
warnings.warn("Using data row ids will be deprecated. Please use "
1408+
"UniqueIds or GlobalKeys instead.")
14071409

14081410
method = "createBulkAddRowsToQueueTask"
14091411
query_str = """mutation AddDataRowsToTaskQueueAsyncPyApi(

0 commit comments

Comments
 (0)