10 lines
343 B
Python
10 lines
343 B
Python
from mgrctl.db.connection import guess_database
|
|
|
|
|
|
# The variable will contain an object of
|
|
# the MySQLDatabase or PostgresqlDatabase class as well as all connection data
|
|
# If in the future there will be more databases in the platform,
|
|
# they should be added here
|
|
auth_database = guess_database('auth')
|
|
dci_1_database = guess_database('dci_1')
|