UserRestrictionSearchRequest
toloka.client.search_requests.UserRestrictionSearchRequest
| Source code
UserRestrictionSearchRequest(
self,
scope: Optional[UserRestriction.Scope] = None,
user_id: Optional[str] = None,
project_id: Optional[str] = None,
pool_id: Optional[str] = None,
id_lt: Optional[str] = None,
id_lte: Optional[str] = None,
id_gt: Optional[str] = None,
id_gte: Optional[str] = None,
created_lt: Optional[datetime] = None,
created_lte: Optional[datetime] = None,
created_gt: Optional[datetime] = None,
created_gte: Optional[datetime] = None
)
Parameters for searching user restriction
Parameters Description
Parameters | Type | Description |
---|---|---|
scope |
Optional[UserRestriction.Scope] | The scope of the ban
|
user_id |
Optional[str] | Performer ID. |
project_id |
Optional[str] | The ID of the project that is blocked. |
pool_id |
Optional[str] | The ID of the pool that is blocked. |
id_lt |
Optional[str] | Bans with an ID less than the specified value. |
id_lte |
Optional[str] | Bans with an ID less than or equal to the specified value. |
id_gt |
Optional[str] | Bans with an ID greater than the specified value. |
id_gte |
Optional[str] | Bans with an ID greater than or equal to the specified value. |
created_lt |
Optional[datetime] | Bans created before the specified date. |
created_lte |
Optional[datetime] | Bans created before or on the specified date. |
created_gt |
Optional[datetime] | Bans created after the specified date. |
created_gte |
Optional[datetime] | Bans created after or on the specified date. |