PoolUserRestriction
toloka.client.user_restriction.PoolUserRestriction
| Source code
PoolUserRestriction(
self,
*,
user_id: Optional[str] = None,
private_comment: Optional[str] = None,
will_expire: Optional[datetime] = None,
id: Optional[str] = None,
created: Optional[datetime] = None,
pool_id: Optional[str] = None
)
Forbid the performer from doing tasks from a specific pool
Parameters Description
Parameters | Type | Description |
---|---|---|
user_id |
Optional[str] | Which performer is denied access. |
private_comment |
Optional[str] | A comment for you why access to this performer was restricted. |
will_expire |
Optional[datetime] | When access is restored. If you do not set the parameter, then the access restriction is permanent. |
id |
Optional[str] | The identifier of a specific fact of access restriction. Read only. |
created |
Optional[datetime] | Date and time when the fact of access restriction was created. Read only. |
pool_id |
Optional[str] | Pool identifier to which access will be denied. |