toloka.client.TolokaClient.get_attachment
| Source code
get_attachment(self, attachment_id: str)
Gets attachment metadata without downloading it.
To download an attachment use the download_attachment method.
Parameters | Type | Description |
---|---|---|
attachment_id | str | The ID of the attachment. |
Returns:
The attachment metadata.
Return type:
Examples:
attachment = toloka_client.get_attachment(attachment_id='0983459b-e26f-42f3-a5fd-6e3feee913e7')
Last updated: August 28, 2023