code: def assign_routes(self, app):
          
          for grp in self.filters:
              for f in self.filters[grp]:
                  if f.route_func:
                      f.register_route(app)
  
          for c in self.charts:
              if c.route_func:
                  c.register_route(app)
docs: Register routes with the app.