from SoudanDB.management import ServerSingleton, CurrentDBSingleton from db import BeGeGretinaDB ServerSingleton.set_server(BeGeGretinaDB) CurrentDBSingleton.set_current_db_module(__name__)
def SoudanServer(): return ServerSingleton.get_server()
from SoudanDB.management import ServerSingleton, CurrentDBSingleton from db import BeGeJCDB ServerSingleton.set_server(BeGeJCDB) CurrentDBSingleton.set_current_db_module(__name__)
from SoudanDB.management import ServerSingleton, CurrentDBSingleton from db import PPCTwoDB ServerSingleton.set_server(PPCTwoDB) CurrentDBSingleton.set_current_db_module(__name__)