From 35728d89a2de9aeb6f2a266e6ece54d2e1786198 Mon Sep 17 00:00:00 2001 From: Gabefire <33893811+Gabefire@users.noreply.github.com> Date: Tue, 19 Nov 2024 08:48:49 -0600 Subject: [PATCH] depreacted get data_row_ids --- libs/labelbox/src/labelbox/schema/slice.py | 7 +++++++ 1 file changed, 7 insertions(+) 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(),