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