def METHOD_NAME(self):
    app = self.app_cls(**self.app_kwargs)
    if hasattr(app, "get_panel"):
        app = app.get_panel()
    if hasattr(app, "sidebar") and self.sidebar_links:
        app.sidebar.append(self.sidebar_links)
        #app.header.append(self.sidebar_links)
    return app