Toloka documentation

Citizenship

toloka.client.filter.Citizenship | Source code

Citizenship(
    self,
    operator: IdentityOperator,
    value: str
)

Use to select users by citizenship.

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 str

User citizenship (two-letter country code) ISO 3166-1 alpha-2