

def __init__(self, app=None, server_un='root', server_pw=None, host='localhost', port=2424):
    self.Database = namedtuple('Database', 'db_name, db_username, db_password')
    if (app is not None):
        self.init_app(app, server_un=server_un, server_pw=server_pw, host=host, port=port)
    else:
        self.app = None

dataset/ETHPy150Open calthoff/flask-orientdb/flask_orientdb.py OrientDB.__init__/original