@@ -291,6 +291,7 @@ def list(
291291 def create (
292292 self ,
293293 * ,
294+ allow_skip : typing .Optional [bool ] = OMIT ,
294295 cancelled_annotations : typing .Optional [int ] = OMIT ,
295296 comment_authors : typing .Optional [typing .Sequence [int ]] = OMIT ,
296297 comment_count : typing .Optional [int ] = OMIT ,
@@ -313,6 +314,9 @@ def create(
313314
314315 Parameters
315316 ----------
317+ allow_skip : typing.Optional[bool]
318+ Whether this task can be skipped. Set to False to make task unskippable.
319+
316320 cancelled_annotations : typing.Optional[int]
317321 Number of total cancelled annotations for the current task
318322
@@ -381,6 +385,7 @@ def create(
381385 "api/tasks/" ,
382386 method = "POST" ,
383387 json = {
388+ "allow_skip" : allow_skip ,
384389 "cancelled_annotations" : cancelled_annotations ,
385390 "comment_authors" : comment_authors ,
386391 "comment_count" : comment_count ,
@@ -508,6 +513,7 @@ def update(
508513 self ,
509514 id : str ,
510515 * ,
516+ allow_skip : typing .Optional [bool ] = OMIT ,
511517 avg_lead_time : typing .Optional [float ] = OMIT ,
512518 cancelled_annotations : typing .Optional [int ] = OMIT ,
513519 comment_count : typing .Optional [int ] = OMIT ,
@@ -539,6 +545,9 @@ def update(
539545 id : str
540546 Task ID
541547
548+ allow_skip : typing.Optional[bool]
549+ Whether this task can be skipped. Set to False to make task unskippable.
550+
542551 avg_lead_time : typing.Optional[float]
543552
544553 cancelled_annotations : typing.Optional[int]
@@ -613,6 +622,7 @@ def update(
613622 f"api/tasks/{ jsonable_encoder (id )} /" ,
614623 method = "PATCH" ,
615624 json = {
625+ "allow_skip" : allow_skip ,
616626 "avg_lead_time" : avg_lead_time ,
617627 "cancelled_annotations" : cancelled_annotations ,
618628 "comment_count" : comment_count ,
@@ -1127,6 +1137,7 @@ async def main() -> None:
11271137 async def create (
11281138 self ,
11291139 * ,
1140+ allow_skip : typing .Optional [bool ] = OMIT ,
11301141 cancelled_annotations : typing .Optional [int ] = OMIT ,
11311142 comment_authors : typing .Optional [typing .Sequence [int ]] = OMIT ,
11321143 comment_count : typing .Optional [int ] = OMIT ,
@@ -1149,6 +1160,9 @@ async def create(
11491160
11501161 Parameters
11511162 ----------
1163+ allow_skip : typing.Optional[bool]
1164+ Whether this task can be skipped. Set to False to make task unskippable.
1165+
11521166 cancelled_annotations : typing.Optional[int]
11531167 Number of total cancelled annotations for the current task
11541168
@@ -1228,6 +1242,7 @@ async def main() -> None:
12281242 "api/tasks/" ,
12291243 method = "POST" ,
12301244 json = {
1245+ "allow_skip" : allow_skip ,
12311246 "cancelled_annotations" : cancelled_annotations ,
12321247 "comment_authors" : comment_authors ,
12331248 "comment_count" : comment_count ,
@@ -1371,6 +1386,7 @@ async def update(
13711386 self ,
13721387 id : str ,
13731388 * ,
1389+ allow_skip : typing .Optional [bool ] = OMIT ,
13741390 avg_lead_time : typing .Optional [float ] = OMIT ,
13751391 cancelled_annotations : typing .Optional [int ] = OMIT ,
13761392 comment_count : typing .Optional [int ] = OMIT ,
@@ -1402,6 +1418,9 @@ async def update(
14021418 id : str
14031419 Task ID
14041420
1421+ allow_skip : typing.Optional[bool]
1422+ Whether this task can be skipped. Set to False to make task unskippable.
1423+
14051424 avg_lead_time : typing.Optional[float]
14061425
14071426 cancelled_annotations : typing.Optional[int]
@@ -1484,6 +1503,7 @@ async def main() -> None:
14841503 f"api/tasks/{ jsonable_encoder (id )} /" ,
14851504 method = "PATCH" ,
14861505 json = {
1506+ "allow_skip" : allow_skip ,
14871507 "avg_lead_time" : avg_lead_time ,
14881508 "cancelled_annotations" : cancelled_annotations ,
14891509 "comment_count" : comment_count ,
0 commit comments