BaseConfig
Base configuration shared across all environments.
Attributes
| Attribute | Type | Description |
|---|---|---|
| SECRET_KEY | str = change-me | Cryptographic key used for signing session cookies and protecting sensitive data, defaulting to the 'SECRET_KEY' environment variable or 'change-me'. |
| DEBUG | bool = false | Flag that enables or disables debug mode to provide detailed error messages and live reloading during development. |
| TESTING | bool = false | Boolean toggle that activates testing mode to suppress email sending and enable exception propagation for test suites. |
| PAGE_SIZE | int = DEFAULT_PAGE_SIZE | The number of records to return per page in paginated API responses, constrained by the system's maximum page size. |
Constructor
Signature
def BaseConfig() - > null
Methods
get_cache_config()
@classmethod
def get_cache_config() - > Dict[str, Any]
Return cache settings for this environment.
Returns
| Type | Description |
|---|---|
Dict[str, Any] | A dictionary containing the environment-specific cache configuration settings |