toloka.client.search_requests.AttachmentSearchRequest
| Source code
AttachmentSearchRequest( self, name: Optional[str] = None, type: Optional[Attachment.Type] = None, user_id: Optional[str] = None, assignment_id: Optional[str] = None, pool_id: Optional[str] = None, owner_id: Optional[str] = None, owner_company_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 attachments.
Parameters | Type | Description |
---|---|---|
name | Optional[str] | An attachment file name. |
type | Optional[Attachment.Type] | An attachment type. Refer to the Attachment.Type page for more information on the available |
user_id | Optional[str] | The ID of a Toloker who uploaded attachments. |
assignment_id | Optional[str] | The ID of an assignment with attachments. Either |
pool_id | Optional[str] | The ID of a pool with attachments. Either |
id_lt | Optional[str] | Attachments with IDs less than the specified value. |
id_lte | Optional[str] | Attachments with IDs less than or equal to the specified value. |
id_gt | Optional[str] | Attachments with IDs greater than the specified value. |
id_gte | Optional[str] | Attachments with IDs greater than or equal to the specified value. |
created_lt | Optional[datetime] | Attachments uploaded by Tolokers before the specified date. |
created_lte | Optional[datetime] | Attachments uploaded by Tolokers before or on the specified date. |
created_gt | Optional[datetime] | Attachments uploaded by Tolokers after the specified date. |
created_gte | Optional[datetime] | Attachments uploaded by Tolokers after or on the specified date. |