Task Model¶
This module contains the definition of a Task object in MapRoulette.
-
class
maproulette.models.task.TaskModel(name, parent, geometries, id=None, instruction=None, location=None, suggested_fix=None, status=None, mapped_on=None, review=None, priority=None, changeset_id=None, completion_responses=None, bundle_id=None, is_bundle_primary=None, mapillary_images=None, cooperative_work=None)¶ Bases:
objectDefinition for a MapRoulette Task
-
READONLY= ['id']¶
-
property
bundle_id¶ The bundle ID for this task
-
property
changeset_id¶ The changeset ID for this task
-
property
completion_responses¶ The completion response for this task
-
property
cooperative_work¶ A dict containing cooperative work information which follows the cooperative_work model
-
property
geometries¶ The geometries of the task
-
property
id¶ The ID of the task
-
property
instruction¶ The instruction for the task
-
property
is_bundle_primary¶ Whether or not this task is the bundle primary
-
property
location¶ The location of the task
-
property
mapillary_images¶ The mapillary images for this task
-
property
mapped_on¶ The mapped on date for the task
-
property
name¶ The internal name of the task
-
property
parent¶ The parent ID for the task
-
property
path¶ The path to the task
-
property
priority¶ The priority of this task
-
property
review¶ Whether this task needs to be reviewed or not
-
property
status¶ The status of the task
-
property
suggested_fix¶ The suggested fix for the task
-
to_dict()¶ Converts all non-null properties of a task object into a dictionary
-
to_json()¶ Converts all non-null properties of a task object into a JSON object
-