label-studio-sdk 0.0.20__tar.gz → 0.0.21__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {label-studio-sdk-0.0.20/label_studio_sdk.egg-info → label-studio-sdk-0.0.21}/PKG-INFO +1 -1
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk/__init__.py +1 -1
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk/project.py +2 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21/label_studio_sdk.egg-info}/PKG-INFO +1 -1
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/LICENSE +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/MANIFEST.in +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/README.md +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/docs/__init__.py +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk/client.py +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk/data_manager.py +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk/users.py +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk/utils.py +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk/workspaces.py +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk.egg-info/SOURCES.txt +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk.egg-info/dependency_links.txt +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk.egg-info/requires.txt +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk.egg-info/top_level.txt +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/requirements.txt +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/setup.cfg +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/setup.py +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/tests/__init__.py +0 -0
- {label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/tests/test_client.py +0 -0
|
@@ -2036,6 +2036,8 @@ class Project(Client):
|
|
|
2036
2036
|
Task ids.
|
|
2037
2037
|
"""
|
|
2038
2038
|
assert isinstance(task_ids, list), 'task_ids should be list of int'
|
|
2039
|
+
if not task_ids: # avoid deletion of all tasks when task_ids = []
|
|
2040
|
+
return Response()
|
|
2039
2041
|
payload = {"selectedItems": {"all": False, "included": task_ids}, "project": self.id}
|
|
2040
2042
|
return self.make_request("POST", f"/api/dm/actions?project={self.id}&id=delete_tasks", json=payload)
|
|
2041
2043
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{label-studio-sdk-0.0.20 → label-studio-sdk-0.0.21}/label_studio_sdk.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|