webknossos.administration.task
¶
Classes:
-
Task
–Data class containing information about a WEBKNOSSOS task
-
TaskStatus
– -
TaskType
–
Task
¶
Data class containing information about a WEBKNOSSOS task
Methods:
-
create
–Submits tasks in WEBKNOSSOS based on a dataset, starting position + rotation, and returns the Task objects
-
create_from_annotations
–Submits tasks in WEBKNOSSOS based on existing annotations, and returns the Task objects
-
get_annotation_infos
–Returns AnnotationInfo objects describing all task instances that have been started by annotators for this task
-
get_by_id
–Returns the task specified by the passed id (if your token authorizes you to see it)
-
get_project
–Returns the project this task belongs to
Attributes:
-
dataset_name
(str
) – -
project_id
(str
) – -
status
(TaskStatus
) – -
task_id
(str
) – -
task_type
(TaskType
) –
create
classmethod
¶
create(task_type_id: str, project_name: str, dataset_name: Union[str, RemoteDataset], needed_experience_domain: str, needed_experience_value: int, starting_position: Vec3Int, starting_rotation: Vec3Int = Vec3Int(0, 0, 0), instances: int = 1, script_id: Optional[str] = None, bounding_box: Optional[BoundingBox] = None) -> List[Task]
Submits tasks in WEBKNOSSOS based on a dataset, starting position + rotation, and returns the Task objects
create_from_annotations
classmethod
¶
create_from_annotations(task_type_id: str, project_name: str, base_annotations: List[Annotation], needed_experience_domain: str, needed_experience_value: int, instances: int = 1, script_id: Optional[str] = None, bounding_box: Optional[BoundingBox] = None) -> List[Task]
Submits tasks in WEBKNOSSOS based on existing annotations, and returns the Task objects
get_annotation_infos
¶
get_annotation_infos() -> List[AnnotationInfo]
Returns AnnotationInfo objects describing all task instances that have been started by annotators for this task
TaskStatus
¶
Attributes:
-
active_instance_count
(int
) – -
finished_instance_count
(int
) – -
open_instance_count
(int
) – -
pending_instance_count
(int
) –
TaskType
¶
Attributes:
-
description
(str
) – -
name
(str
) – -
task_type_id
(str
) – -
team_id
(str
) – -
team_name
(str
) –
- Get Help
- Community Forums
- Email Support