Ligare.database.config
Ligare.database’s integration with Ligare.programming.config.
Classes
|
|
|
|
|
|
|
- class Ligare.database.config.Config[source]
-
database:
DatabaseConfig
-
database:
- class Ligare.database.config.DatabaseConfig(**data)[source]
-
-
connect_args:
DatabaseConnectArgsConfig
|None
= None
-
connection_string:
str
= 'sqlite:///:memory:'
-
sqlalchemy_echo:
bool
= False
-
connect_args:
- class Ligare.database.config.DatabaseConnectArgsConfig(**data)[source]
- model_config: ClassVar[ConfigDict] = {'extra': 'allow'}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].