Toloka documentation

RegionByIp

toloka.client.filter.RegionByIp | Source code

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

Use to select users by their region determined by IP address.

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

The user's region.