Base
kyotsu.config.base
¶
The kyotsu.config.base module provides a base settings configuration class for the application.
This class ensures a uniform way to manage configurations including environment variables across the
entire application, contributing to the maintenance and consistency of the codebase.
| CLASS | DESCRIPTION |
|---|---|
BaseSettings |
An abstract class that encapsulates the base configuration settings for models using the Pydantic settings configuration approach. |
BaseSettings
¶
Bases: BaseSettings
A base settings configuration class that simplifies environment-based settings for Pydantic models.
It includes environmental settings specified as '__'-separated nested properties and the encoding for .env files is 'utf-8'.
| ATTRIBUTE | DESCRIPTION |
|---|---|
IS_DEV |
A boolean flag indicating whether the application is running in development mode.
TYPE:
|
model_config |
Configuration dictionary for the settings model. It sets the delimiter and encoding standard for environment variables.
TYPE:
|