code: def classview_for(self, action='view'):
          
          app = current_app._get_current_object()
          return self.view_for_endpoints[app][action][0](self)
docs: Return the classview that contains the viewhandler for the specified action