ArrayCoordinatesSpec
toloka.client.project.field_spec.ArrayCoordinatesSpec
| Source code
ArrayCoordinatesSpec(
self,
*,
required: Optional[bool] = True,
hidden: Optional[bool] = False,
current_location: Optional[bool] = None,
min_size: Optional[int] = None,
max_size: Optional[int] = None
)
Geographical coordinates array field specification
Parameters Description
Parameters | Type | Description |
---|---|---|
required |
Optional[bool] | Whether the object or input field is required |
hidden |
Optional[bool] | Whether or not to hide the input value field from the user |
current_location |
Optional[bool] | put the user's current coordinates in the field (true/false). Used in tasks for the mobile app. |
min_size |
Optional[int] | Minimum number of elements in the array |
max_size |
Optional[int] | Maximum number of elements in the array |