Skip to content

Commit 910a9f0

Browse files
authored
[PLT-1913] Deprecated get_data_row_ids (#1912)
1 parent b5b6e38 commit 910a9f0

File tree

1 file changed

+7
-0
lines changed
  • libs/labelbox/src/labelbox/schema

1 file changed

+7
-0
lines changed

libs/labelbox/src/labelbox/schema/slice.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,13 @@ def get_data_row_ids(self, model_run_id: str) -> PaginatedCollection:
258258
Returns:
259259
A PaginatedCollection of data row ids
260260
"""
261+
262+
warnings.warn(
263+
"The method get_data_row_ids for ModelSlice is deprecated and will be removed in the next major release. Use the get_data_row_identifiers method instead.",
264+
DeprecationWarning,
265+
stacklevel=2,
266+
)
267+
261268
return PaginatedCollection(
262269
client=self.client,
263270
query=ModelSlice.query_str(),

0 commit comments

Comments
 (0)