def db_connect(dsn=None, user=None, password=None, host=None, port=None, database=None, sslmode=None):
    if dsn is None:
        return connect(user=user, password=password, host=host, port=port, database=database, sslmode=sslmode)

    return connect(dsn)
Connect to database.
dataset/ETHPy150Open openaddresses/machine/openaddr/ci/__init__.py/db_connect