Example #1
0
def get_current_db_module():
    return CurrentDBSingleton.get_current_db_module()
Example #2
0
from RunDB.management import ServerSingleton, CurrentDBSingleton
from db import RunDB
ServerSingleton.set_server(RunDB)
CurrentDBSingleton.set_current_db_module(__name__)