Toloka documentation

DateOfBirth

toloka.client.filter.DateOfBirth | Source code

DateOfBirth(
    self,
    operator: CompareOperator,
    value: int
)

Use to select users by date of birth.

Parameters Description

Parameters Type Description
operator CompareOperator

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 date of birth (UNIX time in seconds).