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
)

Information about a Toloker.

Some information is got from the Toloker's profile, other is obtained from the Toloker's device.

Country and language are returned as country codes.

Parameters description

ParametersTypeDescription
idOptional[str]

The Toloker's ID.

countryOptional[str]

The country set in the profile.

languagesOptional[List[str]]

A list of languages specified in the profile.

adult_allowedOptional[bool]

Whether or not the Toloker agreed to complete tasks which contain adult content.

attributesOptional[Attributes]

Information obtained from the device.

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming