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)
Attachment
Files uploaded by Tolokers are saved in Toloka.
Parameters | Type | Description |
---|---|---|
id | Optional[str] | File ID. |
name | Optional[str] | File name. |
details | Optional[Details] | Information about the pool, the task, and the Toloker who uploaded the file. |
created | Optional[datetime] | Date the file was uploaded to Toloka. |
media_type | Optional[str] | MIME data type. |
owner | Optional[Owner] | Owner |