code: def register(self, target, endpoint=None, blueprint=None,
                   resource_class_args=None, resource_class_kwargs=None):
          
  
          self._defer(self._register, target, endpoint, blueprint,
                      resource_class_args, resource_class_kwargs)
docs: Register a view.
  
          :param target: view function or view class.
          :param endpoint: (optional) endpoint name.
          :param blueprint: (optional) blueprint name.
          :param tuple resource_class_args: (optional) args to be forwarded to the
              view class constructor.
          :param dict resource_class_kwargs: (optional) kwargs to be forwarded to
              the view class constructor.