Skip to content

[PLT-1913] Deprecated get_data_row_ids #1912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions libs/labelbox/src/labelbox/schema/slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
Loading