<spanid="cpl-core-database-context-database-context"></span><h2>cpl_core.database.context.database_context<aclass="headerlink"href="#module-cpl_core.database.context.database_context"title="Permalink to this headline"></a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.database.context.database_context.</span></span><spanclass="sig-name descname"><spanclass="pre">DatabaseContext</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">database_settings</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><aclass="reference internal"href="cpl_core.database.html#cpl_core.database.database_settings.DatabaseSettings"title="cpl_core.database.database_settings.DatabaseSettings"><spanclass="pre">cpl_core.database.database_settings.DatabaseSettings</span></a></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.database.context.database_context.DatabaseContext"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">connect</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">connection_string</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.database.context.database_context.DatabaseContext.connect"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">engine</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre"><module</span><spanclass="pre">'sqlalchemy.engine'</span><spanclass="pre">from</span><spanclass="pre">'/home/sven/Nextcloud_Sven/Schreibtisch/git_sh-edraft_de/sh_cpl/cpl-env/lib/python3.9/site-packages/sqlalchemy/engine/__init__.py'></span></em><aclass="headerlink"href="#cpl_core.database.context.database_context.DatabaseContext.engine"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">save_changes</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.database.context.database_context.DatabaseContext.save_changes"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">session</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">sqlalchemy.orm.session.Session</span></em><aclass="headerlink"href="#cpl_core.database.context.database_context.DatabaseContext.session"title="Permalink to this definition"></a></dt>
<spanid="cpl-core-database-context-database-context-abc"></span><h2>cpl_core.database.context.database_context_abc<aclass="headerlink"href="#module-cpl_core.database.context.database_context_abc"title="Permalink to this headline"></a></h2>
<emclass="property"><spanclass="pre">class</span></em><spanclass="sig-prename descclassname"><spanclass="pre">cpl_core.database.context.database_context_abc.</span></span><spanclass="sig-name descname"><spanclass="pre">DatabaseContextABC</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.database.context.database_context_abc.DatabaseContextABC"title="Permalink to this definition"></a></dt>
<p>ABC for the <aclass="reference internal"href="#cpl_core.database.context.database_context.DatabaseContext"title="cpl_core.database.context.database_context.DatabaseContext"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">cpl_core.database.context.database_context.DatabaseContext</span></code></a></p>
<emclass="property"><spanclass="pre">abstract</span></em><spanclass="sig-name descname"><spanclass="pre">connect</span></span><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">connection_string</span></span><spanclass="p"><spanclass="pre">:</span></span><spanclass="n"><spanclass="pre">str</span></span></em><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.database.context.database_context_abc.DatabaseContextABC.connect"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">engine</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre"><module</span><spanclass="pre">'sqlalchemy.engine'</span><spanclass="pre">from</span><spanclass="pre">'/home/sven/Nextcloud_Sven/Schreibtisch/git_sh-edraft_de/sh_cpl/cpl-env/lib/python3.9/site-packages/sqlalchemy/engine/__init__.py'></span></em><aclass="headerlink"href="#cpl_core.database.context.database_context_abc.DatabaseContextABC.engine"title="Permalink to this definition"></a></dt>
<spanclass="sig-name descname"><spanclass="pre">save_changes</span></span><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#cpl_core.database.context.database_context_abc.DatabaseContextABC.save_changes"title="Permalink to this definition"></a></dt>
<emclass="property"><spanclass="pre">abstract</span><spanclass="pre">property</span></em><spanclass="sig-name descname"><spanclass="pre">session</span></span><emclass="property"><spanclass="pre">:</span><spanclass="pre">sqlalchemy.orm.session.Session</span></em><aclass="headerlink"href="#cpl_core.database.context.database_context_abc.DatabaseContextABC.session"title="Permalink to this definition"></a></dt>