get_file_key method
Leave feedback
On this page
Returns unique identifier for the cache entry that represents file.
def get_file_key(cls, extension):
...
| Parameter | Type | Description |
|---|---|---|
| extension | str |
The filename suffix (including the period “.”) e.g. “.doc”. |
Returns: str: Unique identifier for the cache entry that represents file.
| Raises | Description |
|---|---|
ValueError |
If extension is None 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.