Toloka documentation

DeviceCategory

toloka.client.filter.DeviceCategory | Source code

DeviceCategory(
    self,
    operator: IdentityOperator,
    value: Union[DeviceCategory, str]
)

Use to select users by their device category.

Parameters Description

Parameters Type Description
operator IdentityOperator

Comparison operator in the condition. For example, for a condition "The user must be 18 years old or older» used date of birth and operator GTE («Greater than or equal»). Possible key values operator depends on the data type in the field value

value DeviceCategory

The user's device category.