toloka.client.actions.Restriction | Source code
Restriction(self,*,scope: Union[UserRestriction.Scope, str, None] = None,duration_days: Optional[int] = None,private_comment: Optional[str] = None)
Restricts Toloker's access to projects or pools.
To have better control over restriction period use RestrictionV2.
|Union[UserRestriction.Scope, str, None]|
A blocking period in days. If the
A private comment. It is visible only to the requester.