toloka.client.TolokaClient.get_user_restriction
| Source code
get_user_restriction(self, user_restriction_id: str)
Gets information about a Toloker restriction.
Parameters | Type | Description |
---|---|---|
user_restriction_id | str | The ID of the Toloker restriction. |
Returns:
The Toloker restriction.
Return type:
Examples:
restriction = toloka_client.get_user_restriction(user_restriction_id='19124')print(restriction.will_expire)
Last updated: August 28, 2023