Toloka documentation

City

toloka.client.filter.City | Source code

City(
    self,
    operator: InclusionOperator,
    value: int
)

Use to select users by city.

Parameters Description

Parameters Type Description
operator InclusionOperator

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 int

User city(ID of the region).