get_user_restriction

toloka.client.TolokaClient.get_user_restriction | Source code

get_user_restriction(self, user_restriction_id: str)

Gets information about a Toloker restriction.

Parameters description

ParametersTypeDescription
user_restriction_idstr

The ID of the Toloker restriction.

Examples:

restriction = toloka_client.get_user_restriction(user_restriction_id='19124')
print(restriction.will_expire)

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