get_attachment_key method
Leave feedback
On this page
Returns unique identifier for the cache entry that represents attachment file.
def get_attachment_key(cls, attachment_id):
...
| Parameter | Type | Description |
|---|---|---|
| attachment_id | str |
Unique (in context of single file) identifier of the attachment. |
Returns: str: Unique identifier for the cache entry that represents attachment file.
| Raises | Description |
|---|---|
ValueError |
Thrown when attachment_id is null or empty. |
- class
CacheKeys
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.