dtlpy 1.114.14__py3-none-any.whl → 1.114.15__py3-none-any.whl
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.
- dtlpy/__version__.py +1 -1
- dtlpy/repositories/tasks.py +30 -30
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.15.dist-info}/METADATA +1 -1
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.15.dist-info}/RECORD +11 -11
- {dtlpy-1.114.14.data → dtlpy-1.114.15.data}/scripts/dlp +0 -0
- {dtlpy-1.114.14.data → dtlpy-1.114.15.data}/scripts/dlp.bat +0 -0
- {dtlpy-1.114.14.data → dtlpy-1.114.15.data}/scripts/dlp.py +0 -0
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.15.dist-info}/WHEEL +0 -0
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.15.dist-info}/entry_points.txt +0 -0
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.15.dist-info}/licenses/LICENSE +0 -0
- {dtlpy-1.114.14.dist-info → dtlpy-1.114.15.dist-info}/top_level.txt +0 -0
dtlpy/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
version = '1.114.
|
|
1
|
+
version = '1.114.15'
|
dtlpy/repositories/tasks.py
CHANGED
|
@@ -127,7 +127,7 @@ class Tasks:
|
|
|
127
127
|
if self._project_id is not None:
|
|
128
128
|
project_ids = self._project_id
|
|
129
129
|
else:
|
|
130
|
-
|
|
130
|
+
project_ids = self.project.id
|
|
131
131
|
|
|
132
132
|
if not isinstance(project_ids, list):
|
|
133
133
|
project_ids = [project_ids]
|
|
@@ -219,7 +219,7 @@ class Tasks:
|
|
|
219
219
|
elif self._project_id is not None:
|
|
220
220
|
project_ids = [self._project_id]
|
|
221
221
|
else:
|
|
222
|
-
|
|
222
|
+
project_ids = [self.project.id]
|
|
223
223
|
filters.context = {"projectIds": project_ids}
|
|
224
224
|
|
|
225
225
|
if assignments is not None:
|
|
@@ -950,34 +950,34 @@ class Tasks:
|
|
|
950
950
|
@_api_reference.add(path="/annotationtasks", method="post")
|
|
951
951
|
def create(
|
|
952
952
|
self,
|
|
953
|
-
task_name,
|
|
954
|
-
due_date=None,
|
|
955
|
-
assignee_ids=None,
|
|
953
|
+
task_name,
|
|
954
|
+
due_date=None,
|
|
955
|
+
assignee_ids=None,
|
|
956
956
|
workload=None,
|
|
957
|
-
dataset=None,
|
|
958
|
-
task_owner=None,
|
|
959
|
-
task_type="annotation",
|
|
960
|
-
task_parent_id=None,
|
|
961
|
-
project_id=None,
|
|
962
|
-
recipe_id=None,
|
|
963
|
-
assignments_ids=None,
|
|
964
|
-
metadata=None,
|
|
965
|
-
filters=None,
|
|
966
|
-
items=None,
|
|
967
|
-
query=None,
|
|
968
|
-
available_actions=None,
|
|
969
|
-
wait=True,
|
|
970
|
-
check_if_exist: entities.Filters = False,
|
|
971
|
-
limit=None,
|
|
972
|
-
batch_size=None,
|
|
973
|
-
max_batch_workload=None,
|
|
974
|
-
allowed_assignees=None,
|
|
975
|
-
priority=entities.TaskPriority.MEDIUM,
|
|
976
|
-
consensus_task_type=None,
|
|
977
|
-
consensus_percentage=None,
|
|
978
|
-
consensus_assignees=None,
|
|
979
|
-
scoring=True,
|
|
980
|
-
enforce_video_conversion=True,
|
|
957
|
+
dataset=None,
|
|
958
|
+
task_owner=None,
|
|
959
|
+
task_type="annotation",
|
|
960
|
+
task_parent_id=None,
|
|
961
|
+
project_id=None,
|
|
962
|
+
recipe_id=None,
|
|
963
|
+
assignments_ids=None,
|
|
964
|
+
metadata=None,
|
|
965
|
+
filters=None,
|
|
966
|
+
items=None,
|
|
967
|
+
query=None,
|
|
968
|
+
available_actions=None,
|
|
969
|
+
wait=True,
|
|
970
|
+
check_if_exist: entities.Filters = False,
|
|
971
|
+
limit=None,
|
|
972
|
+
batch_size=None,
|
|
973
|
+
max_batch_workload=None,
|
|
974
|
+
allowed_assignees=None,
|
|
975
|
+
priority=entities.TaskPriority.MEDIUM,
|
|
976
|
+
consensus_task_type=None,
|
|
977
|
+
consensus_percentage=None,
|
|
978
|
+
consensus_assignees=None,
|
|
979
|
+
scoring=True,
|
|
980
|
+
enforce_video_conversion=True,
|
|
981
981
|
) -> entities.Task:
|
|
982
982
|
"""
|
|
983
983
|
Create a new Task (Annotation or QA).
|
|
@@ -1069,7 +1069,7 @@ class Tasks:
|
|
|
1069
1069
|
if self._project_id is not None:
|
|
1070
1070
|
project_id = self._project_id
|
|
1071
1071
|
else:
|
|
1072
|
-
|
|
1072
|
+
project_id = self.project.id
|
|
1073
1073
|
|
|
1074
1074
|
if workload is None and assignee_ids is not None:
|
|
1075
1075
|
workload = entities.Workload.generate(assignee_ids=assignee_ids)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
dtlpy/__init__.py,sha256=Kpyd5B6_bVW7O2l5EPnFxXJzHiobRvFbIUDeYT7kvh0,21054
|
|
2
|
-
dtlpy/__version__.py,sha256=
|
|
2
|
+
dtlpy/__version__.py,sha256=j15YWvxbbVdPICCYjK3E4ayizq4E04ORwbeIgr4Bodg,22
|
|
3
3
|
dtlpy/exceptions.py,sha256=3-QaX1marJ1oCNNnEgnvqPlhHq8mVKjufI157pzxGZU,2996
|
|
4
4
|
dtlpy/new_instance.py,sha256=6M2jZrQ6E9zfef4HOthiC9jzpQsRaLrOLu0IKw0yg0I,10234
|
|
5
5
|
dtlpy/assets/__init__.py,sha256=AzcOoxymAF5O2ujLGtBIXWcA_AZx20Z0BzKLQsQWw94,1002
|
|
@@ -191,7 +191,7 @@ dtlpy/repositories/schema.py,sha256=QGFv7JZ3qJRbBpvR8VxLniyMHqpBbzAju863r0-Mf7k,
|
|
|
191
191
|
dtlpy/repositories/service_drivers.py,sha256=O4KWOqSlkXPUy9I7I7VzHU_h4CtYJQ_y_JCvMzs7qsI,6979
|
|
192
192
|
dtlpy/repositories/services.py,sha256=0EQfEOMFNyqh3Yp93FigNMh2q_pjPQTthANM9mNTZrY,70560
|
|
193
193
|
dtlpy/repositories/settings.py,sha256=o9QDQRf5DIHTzHQ0M9GGPqI5d4CLSP5jMEzHL_z7M3g,11984
|
|
194
|
-
dtlpy/repositories/tasks.py,sha256=
|
|
194
|
+
dtlpy/repositories/tasks.py,sha256=UTHute3TJhI5WzXULHfHkuqSZvn0ZEdHrXmc1U6S1pM,64834
|
|
195
195
|
dtlpy/repositories/times_series.py,sha256=xpbs3H3FTUolPy157xxOSlI7KHfqATtENVOGMhGw5KM,11698
|
|
196
196
|
dtlpy/repositories/triggers.py,sha256=_eMVkmdOnS_5XeqbGGOSmXsesuHlC6mnslelljZjMJY,22526
|
|
197
197
|
dtlpy/repositories/upload_element.py,sha256=nf8yz0NBHpla8Irn6fIbxrD00qXcNfNTmpvKOVmSRjs,10934
|
|
@@ -227,14 +227,14 @@ dtlpy/utilities/reports/report.py,sha256=zer2AqDmmuuu_A31TjHI9yS4RnjAlIeQZ5xWzOM
|
|
|
227
227
|
dtlpy/utilities/videos/__init__.py,sha256=erjgtnnSJYk3k9j4PGzJwu3Ohv7H7DMnKySvJUQoaQs,751
|
|
228
228
|
dtlpy/utilities/videos/video_player.py,sha256=KJiMcrGo17qwaSnOF-SsccAR8BVChC_HMgTV6zW1bJ8,24670
|
|
229
229
|
dtlpy/utilities/videos/videos.py,sha256=PjPx_2hwAxctoz96XBd407ds8JZpzur4Z54rtJlVO-8,22345
|
|
230
|
-
dtlpy-1.114.
|
|
231
|
-
dtlpy-1.114.
|
|
232
|
-
dtlpy-1.114.
|
|
233
|
-
dtlpy-1.114.
|
|
230
|
+
dtlpy-1.114.15.data/scripts/dlp,sha256=R99eKZP_pZ7egsYawtuw2lRL_6b0P7spq7JpGAY3H7Y,11
|
|
231
|
+
dtlpy-1.114.15.data/scripts/dlp.bat,sha256=2V2sDEhvV2Tm7nMoyFdIxo5ODq-msgt9LJesLoPVmX0,38
|
|
232
|
+
dtlpy-1.114.15.data/scripts/dlp.py,sha256=sN0lxOiBmYOVijl1vCm3wkyr2TGas75AGaHV7pxt6oo,4521
|
|
233
|
+
dtlpy-1.114.15.dist-info/licenses/LICENSE,sha256=WtjCEwlcVzkh1ziO35P2qfVEkLjr87Flro7xlHz3CEY,11556
|
|
234
234
|
tests/features/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
235
235
|
tests/features/environment.py,sha256=FLJTz1dYMfeWauwRHED_weESoOKc_ZfcgvGiWoS2lYA,19484
|
|
236
|
-
dtlpy-1.114.
|
|
237
|
-
dtlpy-1.114.
|
|
238
|
-
dtlpy-1.114.
|
|
239
|
-
dtlpy-1.114.
|
|
240
|
-
dtlpy-1.114.
|
|
236
|
+
dtlpy-1.114.15.dist-info/METADATA,sha256=ubFkFK2qNfCd5F7H4ZWbC_mCr_orKvQeYjEwUW9FVDM,5823
|
|
237
|
+
dtlpy-1.114.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
238
|
+
dtlpy-1.114.15.dist-info/entry_points.txt,sha256=C4PyKthCs_no88HU39eioO68oei64STYXC2ooGZTc4Y,43
|
|
239
|
+
dtlpy-1.114.15.dist-info/top_level.txt,sha256=ZWuLmQGUOtWAdgTf4Fbx884w1o0vBYq9dEc1zLv9Mig,12
|
|
240
|
+
dtlpy-1.114.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|