Toloka documentation

User

toloka.client.user.User | Source code

User(
    self,
    *,
    id: Optional[str] = None,
    country: Optional[str] = None,
    languages: Optional[List[str]] = None,
    adult_allowed: Optional[bool] = None,
    attributes: Optional[Attributes] = None
)

Toloker metadata.

Parameters Description

Parameters Type Description
id Optional[str]

Toloker ID.

country Optional[str]

Toloker country code.

languages Optional[List[str]]

list of languages that Toloker know represented with language codes.

adult_allowed Optional[bool]

shows whether Toloker agreed to complete tasks with adult content.

attributes Optional[Attributes]

Toloker attributes.