def styleguide_dashboard(): user = FakeUser(config.Config(app).settings) apps = user.apps(Application(app_list.apps_yml).apps) return render_template('dashboard.html', config=app.config, user=user, apps=apps, alerts=None)
def styleguide_notifications(): user = FakeUser(config.Config(app).settings) return render_template( 'notifications.html', config=app.config, user=user, )
def find_bot(self, for_user: User) -> FakeUser: return FakeUser(-1, -1, for_user.difficulty)