def __init__()

in services/ui_backend_service/api/admin.py [0:0]


    def __init__(self, app, cache_store):
        self.cache_store = cache_store

        app.router.add_route("GET", "/ping", self.ping)
        app.router.add_route("GET", "/version", self.version)
        app.router.add_route("GET", "/links", self.links)
        app.router.add_route("GET", "/notifications", self.get_notifications)
        app.router.add_route("GET", "/status", self.status)

        defaults = [
            {"href": 'https://docs.metaflow.org/', "label": 'Documentation'},
            {"href": 'http://chat.metaflow.org/', "label": 'Help'}
        ]

        self.notifications = _get_notifications_config() or []
        self.navigation_links = _get_links_config() or defaults