cpl_core.database

Submodules

cpl_core.database.database_model

cpl_core.database.database_settings

class cpl_core.database.database_settings.DatabaseSettings

Bases: ConfigurationModelABC

Represents settings for the database connection

property auth_plugin: Optional[str]
property buffered: Optional[bool]
property charset: Optional[str]
property database: Optional[str]
from_dict(settings: dict)

Sets attributes from given dict

settings: dict

property host: Optional[str]
property password: Optional[str]
property use_unicode: Optional[bool]
property user: Optional[str]

cpl_core.database.database_settings_name_enum

class cpl_core.database.database_settings_name_enum.DatabaseSettingsNameEnum(value)

Bases: Enum

An enumeration.

auth_plugin = 'AuthPlugin'
buffered = 'Buffered'
charset = 'Charset'
database = 'Database'
host = 'Host'
password = 'Password'
use_unicode = 'UseUnicode'
user = 'User'