DevelopmentConfig
Configuration for local development.
Attributes
| Attribute | Type | Description |
|---|---|---|
| DEBUG | bool = True | Controls whether debug mode is enabled for the application, providing detailed error pages and development tools. |
| PAGE_SIZE | int = 10 | Determines the default number of items to display per page in paginated results. |
Methods
get_cache_config()
def get_cache_config(self) -> Dict[str, Any]: ...
Builds and returns the cache configuration for the application. This method is used to define caching parameters like time-to-live and maximum size for development environments.
Returns
| Type | Description |
|---|---|
Dict[str, Any] | A dictionary containing the cache configuration settings, including 'ttl' (time-to-live) and 'max_size' (maximum cache size). |