toloka.client.attachment.Attachment
| Source code
Attachment( self, *, id: Optional[str] = None, name: Optional[str] = None, details: Optional[Details] = None, created: Optional[datetime] = None, media_type: Optional[str] = None, owner: Optional[Owner] = None)
An attachment.
Files attached to tasks by Tolokers are uploaded to Toloka.
Parameters | Type | Description |
---|---|---|
id | Optional[str] | The file ID. |
name | Optional[str] | The file name. |
details | Optional[Details] | Attachment details: a pool, task, and Toloker who uploaded the file. |
created | Optional[datetime] | The date and time when the file was uploaded. |
media_type | Optional[str] | The file MIME data type. |
owner | Optional[Owner] | The owner of the attachment. |
Last updated: August 28, 2023