Added db context handling
This commit is contained in:
parent
31793fb290
commit
d0e3e1792f
8
src/tests/custom/database/src/model/db_context.py
Normal file
8
src/tests/custom/database/src/model/db_context.py
Normal file
@ -0,0 +1,8 @@
|
||||
from cpl.database import DatabaseSettings
|
||||
from cpl.database.context import DatabaseContext
|
||||
|
||||
|
||||
class DBContext(DatabaseContext):
|
||||
|
||||
def __init__(self, db_settings: DatabaseSettings):
|
||||
DatabaseContext.__init__(self, db_settings)
|
Loading…
Reference in New Issue
Block a user