Toloka documentation

CoordinatesSpec

toloka.client.project.field_spec.CoordinatesSpec | Source code

CoordinatesSpec(
    self,
    *,
    required: Optional[bool] = True,
    hidden: Optional[bool] = False,
    current_location: Optional[bool] = None
)

Geographical coordinates field specification, such as “53.910236,27.531110

Parameters Description

Parameters Type Description
required Optional[bool]

Whether the object or input field is required.

hidden Optional[bool]

Whether to hide the input field from Tolokers.

current_location Optional[bool]

put the Toloker's current coordinates in the field (true/false). Used in tasks for the mobile app.