def getDbConfig():
    cfg = config.getConfig()
    if 'database' in cfg:
        return cfg['database']
    else:
        return {}
Get the database configuration values from the cherrypy config.
dataset/ETHPy150Open girder/girder/girder/models/__init__.py/getDbConfig