code: def redirect(self, url, method=None, **kwargs):
          
          return self.nest(Redirect(url, method=method, **kwargs))
docs: Create a <Redirect> element
  
          :param url: Redirect URL
          :param method: Redirect URL method
          :param kwargs: additional attributes
  
          :returns: <Redirect> element