Пример #1
0
from SoudanDB.management import ServerSingleton, CurrentDBSingleton
from db import BeGeGretinaDB
ServerSingleton.set_server(BeGeGretinaDB)
CurrentDBSingleton.set_current_db_module(__name__)
Пример #2
0
def get_current_db_module():
    return CurrentDBSingleton.get_current_db_module()