toloka.client.project.field_spec.ArrayIntegerSpec
| Source code
ArrayIntegerSpec( self, *, required: Optional[bool] = True, hidden: Optional[bool] = False, min_value: Optional[int] = None, max_value: Optional[int] = None, allowed_values: Optional[List[int]] = None, min_size: Optional[int] = None, max_size: Optional[int] = None)
An integer array field specification.
Parameters | Type | Description |
---|---|---|
required | Optional[bool] | Whether a field is required. Default value: |
hidden | Optional[bool] | Whether to hide an input field from Tolokers. Output fields can't be hidden. Default value: |
min_value | Optional[int] | The minimum value. |
max_value | Optional[int] | The maximum value. |
allowed_values | Optional[List[int]] | A list of allowed values. |
min_size | Optional[int] | The minimum number of elements in the array. |
max_size | Optional[int] | The maximum number of elements in the array. |