diff --git a/libs/labelbox/src/labelbox/schema/slice.py b/libs/labelbox/src/labelbox/schema/slice.py index 1cdb21c1a..f6bb53d75 100644 --- a/libs/labelbox/src/labelbox/schema/slice.py +++ b/libs/labelbox/src/labelbox/schema/slice.py @@ -258,6 +258,13 @@ def get_data_row_ids(self, model_run_id: str) -> PaginatedCollection: Returns: A PaginatedCollection of data row ids """ + + warnings.warn( + "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.", + DeprecationWarning, + stacklevel=2, + ) + return PaginatedCollection( client=self.client, query=ModelSlice.query_str(),