def register()

in server/app/plugins/__init__.py [0:0]


    def register(self, *loops: typing.Callable, slug: str, title: str, icon: str, private: bool = False):
        """Registers a reporting plugin, adds to sidebar in UI and inits any necessary loops"""
        self.plugins.append(pluginEntry(slug, title, icon, loops, private or None))
        if loops:
            for loop in loops:
                quart.current_app.add_background_task(loop)