def METHOD_NAME(conf):
    default = "clickhouse://api:api@localhost/default"
    uri = conf.get("db_uri", default)
    log.info(f"Connecting to database on {uri}")
    conn = Clickhouse.from_url(uri)
    return conn