ProductionConfig
Configuration for production deployments.
Attributes
| Attribute | Type | Description |
|---|---|---|
| SECRET_KEY | string | The secret key used for signing session cookies and other security-sensitive operations, loaded from the environment variable 'SECRET_KEY'. |
| PAGE_SIZE | integer | The default number of items to display per page in paginated results. |
Methods
get_cache_config()
@classmethod
def get_cache_config() - > Dict[str, Any]
Builds and returns the cache configuration dictionary. This includes settings like time-to-live (TTL) and maximum size for cache entries.
Returns
| Type | Description |
|---|---|
Dict[str, Any] | A dictionary containing cache configuration parameters such as 'ttl' and 'max_size'. |