BaseConfig
Base configuration shared across all environments.
Attributes
| Attribute | Type | Description |
|---|---|---|
| SECRET_KEY | str = change-me | The secret key used for cryptographic operations, defaulting to an environment variable or a placeholder if not set. |
| DEBUG | bool = False | A boolean indicating whether debug mode is enabled, affecting error reporting and other development-specific features. |
| TESTING | bool = False | A boolean indicating whether the application is running in a testing environment, which can alter behavior for testability. |
| PAGE_SIZE | int = DEFAULT_PAGE_SIZE | The default number of items to display per page in paginated results. |
Methods
get_cache_config()
def get_cache_config(self) -> Dict[str, Any]: ...
Return cache settings for this environment.
Returns
| Type | Description |
|---|---|
Dict[str, Any] |