Skip to content
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
10 changes: 10 additions & 0 deletions datamint/api/endpoints/annotationsets_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,16 @@ def get_segmentation_group(self,
worklist_id,
'segmentation-group').json()

def get_list(self, limit: int | None = None, **kwargs) -> list[AnnotationWorklist]:
"""Not supported: there is no server endpoint to list worklists across all projects.

Use :meth:`get_by_project` instead.
"""
raise NotImplementedError(
"AnnotationWorklistApi.get_list()/get_all() is not supported. Use "
"get_by_project(project) to list the worklists for a specific project."
)

def get_by_project(self, project: 'str | Project') -> list[AnnotationWorklist]:
"""Get the worklist IDs associated with a project.

Expand Down
Loading