You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/guide/skip.md
-14Lines changed: 0 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,6 @@ You can see which tasks have been skipped using the **Cancelled** column in the
27
27
!!! error Enterprise
28
28
Task skipping, and how tasks can be skipped, is highly configurable in Label Studio Enterprise and Starter Cloud. For more information, see [the Enterprise documentation](https://docs.humansignal.com/guide/skip).
29
29
30
-
To make tasks unskippable, you can include a special key in the JSON task definition that you import to your project.
31
-
32
30
</div>
33
31
34
32
<divclass="enterprise-only">
@@ -47,8 +45,6 @@ Whether annotators can skip tasks, and what should happen to skipped tasks, is c
47
45
48
46
While you can disallow skipping entirely from the project settings, if you want to have specific tasks be unskippable, you will need to configure that by adding a special key as part of the JSON task definition that you import to your project.
49
47
50
-
</div>
51
-
52
48
## Individual unskippable tasks
53
49
54
50
To make an individual task unskippable, specify `"allow_skip": false` as part of the [JSON task definition](tasks#Basic-Label-Studio-JSON-format) that you import to your project.
@@ -71,8 +67,6 @@ For example, the following JSON snippet would result in one skippable task and o
71
67
]
72
68
```
73
69
74
-
<divclass="enterprise-only">
75
-
76
70
!!! note
77
71
Managers, Admins, and Owners can still skip these tasks. Only Annotators and Reviewers cannot skip tasks that have been marked unskippable using this method.
78
72
@@ -82,13 +76,5 @@ For example, the following JSON snippet would result in one skippable task and o
82
76
83
77
</div>
84
78
85
-
<divclass="opensource-only">
86
-
87
-
!!! info Tip
88
-
Use the **Allow Skip** column to see which tasks have skipping disabled and filter for unskippable tasks.
Copy file name to clipboardExpand all lines: label_studio/data_export/serializers.py
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
2
-
"""
1
+
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license."""
Copy file name to clipboardExpand all lines: label_studio/data_manager/serializers.py
+4-9Lines changed: 4 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
2
-
"""
1
+
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license."""
Copy file name to clipboardExpand all lines: label_studio/io_storages/base_models.py
+9-14Lines changed: 9 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
2
-
"""
1
+
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license."""
2
+
3
3
importbase64
4
4
importconcurrent.futures
5
5
importitertools
@@ -250,8 +250,7 @@ def health_check(self):
250
250
)
251
251
self.save(update_fields=['status', 'traceback'])
252
252
logger.info(
253
-
f'Storage {self} status moved to `failed` '
254
-
f'because the job {self.last_sync_job} has too old ping time'
253
+
f'Storage {self} status moved to `failed` because the job {self.last_sync_job} has too old ping time'
255
254
)
256
255
257
256
defjob_health_check(self):
@@ -276,7 +275,7 @@ def job_health_check(self):
276
275
'This typically occurs due to an out-of-memory (OOM) error.'
277
276
)
278
277
self.save(update_fields=['status', 'traceback'])
279
-
logger.info(f'Storage {self} status moved to `failed` 'f'because of the failed job {self.last_sync_job}')
278
+
logger.info(f'Storage {self} status moved to `failed` because of the failed job {self.last_sync_job}')
280
279
281
280
# job is not found in redis (maybe deleted while redeploy), storage status is still active
282
281
elifjob_status=='not found':
@@ -288,9 +287,7 @@ def job_health_check(self):
288
287
'or workers reloaded unexpectedly.'
289
288
)
290
289
self.save(update_fields=['status', 'traceback'])
291
-
logger.info(
292
-
f'Storage {self} status moved to `failed` 'f'because the job {self.last_sync_job} was not found'
293
-
)
290
+
logger.info(f'Storage {self} status moved to `failed` because the job {self.last_sync_job} was not found')
Copy file name to clipboardExpand all lines: label_studio/tasks/api.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
2
-
"""
1
+
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license."""
Copy file name to clipboardExpand all lines: label_studio/tasks/serializers.py
+7-14Lines changed: 7 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
-
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license.
2
-
"""
1
+
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license."""
0 commit comments