@@ -162,9 +162,10 @@ while True:
162162
163163> Please wait a second before sending another requests!
164164
165+
165166#### Update Tasks
166167
167- Update a signle task.
168+ Update a single task.
168169
169170``` python
170171task_id = client.update_image_task(
@@ -300,7 +301,6 @@ Example when the project type is Image - Pose Estimation
300301}
301302```
302303
303-
304304### Image Classification
305305
306306Supported following project types:
@@ -344,9 +344,10 @@ Get tasks. (Up to 1000 tasks)
344344tasks = client.get_image_classification_tasks(project = " YOUR_PROJECT_SLUG" )
345345```
346346
347+
347348#### Update Tasks
348349
349- Update a signle task.
350+ Update a single task.
350351
351352``` python
352353task_id = client.update_image_classification_task(
@@ -460,6 +461,30 @@ Get tasks.
460461tasks = client.get_multi_image_tasks(project = " YOUR_PROJECT_SLUG" )
461462```
462463
464+ #### Update Task
465+
466+ Update a single task.
467+
468+ ``` python
469+ task_id = client.update_multi_image_task(
470+ task_id = " YOUR_TASK_ID" ,
471+ status = " approved" ,
472+ assignee = " USER_SLUG" ,
473+ tags = [" tag1" , " tag2" ],
474+ annotations = [
475+ {
476+ " type" : " bbox" ,
477+ " value" : " cat" ,
478+ " content" : " cat1.jpg" ,
479+ " attributes" : [
480+ { " key" : " key" , " value" : " value1" }
481+ ],
482+ " points" : [990 , 560 , 980 , 550 ]
483+ }
484+ ]
485+ )
486+ ```
487+
463488#### Response
464489
465490Example of a single task object
@@ -592,9 +617,55 @@ Get tasks. (Up to 10 tasks)
592617tasks = client.get_video_tasks(project = " YOUR_PROJECT_SLUG" )
593618```
594619
620+ #### Update Task
621+
622+ Update a single task.
623+
624+ ``` python
625+ task_id = client.update_video_task(
626+ task_id = " YOUR_TASK_ID" ,
627+ status = " approved" ,
628+ assignee = " USER_SLUG" ,
629+ tags = [" tag1" , " tag2" ],
630+ annotations = [{
631+ " type" : " bbox" ,
632+ " value" : " bird" ,
633+ " points" : {
634+ " 1" : {
635+ " value" : [
636+ 100 ,
637+ 100 ,
638+ 200 ,
639+ 200
640+ ],
641+ " autogenerated" : False
642+ },
643+ " 2" : {
644+ " value" : [
645+ 110 ,
646+ 110 ,
647+ 220 ,
648+ 220
649+ ],
650+ " autogenerated" : True
651+ },
652+ " 3" : {
653+ " value" : [
654+ 120 ,
655+ 120 ,
656+ 240 ,
657+ 240
658+ ],
659+ " autogenerated" : False
660+ }
661+ }
662+ }]
663+ )
664+ ```
665+
595666#### Response
596667
597- Example of a single image classification task object
668+ Example of a single vide task object
598669
599670``` python
600671{
@@ -701,7 +772,7 @@ tasks = client.get_video_classification_tasks(project="YOUR_PROJECT_SLUG")
701772
702773#### Update Tasks
703774
704- Update a signle task.
775+ Update a single task.
705776
706777``` python
707778task_id = client.update_video_classification_task(
@@ -751,7 +822,7 @@ id_name_map = client.get_task_id_name_map(project="YOUR_PROJECT_SLUG")
751822
752823## Annotation
753824
754- ### Create Annotaion
825+ ### Create Annotation
755826
756827Create a new annotation.
757828
0 commit comments