Toloka documentation

AdultAllowed

toloka.client.filter.AdultAllowed | Source code

AdultAllowed(
    self,
    operator: IdentityOperator,
    value: bool
)

Filtering Tolokers who agreed to work with adult content.

Parameters Description

Parameters Type Description
operator IdentityOperator

An operator used in a condition. Allowed set of operators depends on the filter.

value bool
  • True — Toloker agrees to work with adult content.
  • False — Toloker does not agree to work with adult content.

Examples:

adult_allowed_filter = toloka.client.filter.AdultAllowed == True
adult_not_allowed_filter = toloka.client.filter.AdultAllowed == False