toloka.client.TolokaClient.get_attachment
| Source code
get_attachment(self, attachment_id: str)
Gets attachment metadata without downloading it
To download attachments as a file use "TolokaClient.download_attachment" method.
Parameters | Type | Description |
---|---|---|
attachment_id | str | ID of attachment. |
Returns:
The attachment metadata read as a result.
Return type:
Examples:
Specify an attachment_id
to get the information about any attachment object.
toloka_client.get_attachment(attachment_id='1')