cpl_core.database

Submodules

cpl_core.database.database_model

cpl_core.database.database_settings

class cpl_core.database.database_settings.DatabaseSettings

Bases: cpl_core.configuration.configuration_model_abc.ConfigurationModelABC

Represents settings for the database connection

property auth_plugin: str
property case_sensitive: bool
property connection_string: str
property credentials: str
property echo: bool
property encoding: str
from_dict(settings: dict)

Sets attributes from given dict

settings: dict

cpl_core.database.database_settings_name_enum

class cpl_core.database.database_settings_name_enum.DatabaseSettingsNameEnum(value)

Bases: enum.Enum

An enumeration.

auth_plugin = 'AuthPlugin'
case_sensitive = 'CaseSensitive'
connection_string = 'ConnectionString'
credentials = 'Credentials'
echo = 'Echo'
encoding = 'Encoding'