DevelopmentConfig
Configuration for local development.
Attributes
| Attribute | Type | Description |
|---|---|---|
| DEBUG | bool = True | Flag to enable or disable debug mode, which provides more verbose logging and error details during development. Defaults to True. |
| PAGE_SIZE | int = 10 | Default number of items to display per page in paginated results. Defaults to 10. |
Methods
get_cache_config()
@classmethod
def get_cache_config() - > Dict[str, Any]
Builds and returns the cache configuration dictionary with a TTL of 30 seconds and a maximum size of 128 items.
Returns
| Type | Description |
|---|---|
Dict[str, Any] | A dictionary containing cache configuration parameters. |