@app.route("/config")
def flask_get_configs():
    filtered_config_metadata = {
        filtered_zk_path: _PATH_TO_DATA[filtered_zk_path]
        for filtered_zk_path in _PATH_TO_DATA.keys()
        if not filtered_zk_path.startswith('/discovery')
    }
    return json.dumps(filtered_config_metadata)
_PATH_TO_DATA also contains serverset paths,
dataset/ETHPy150Open pinterest/kingpin/kingpin/zk_update_monitor/zk_update_monitor.py/flask_get_configs