code: def to_requests(self, method='get'):
          
          out = {}
          data_key = 'params' if method.lower() == 'get' else 'data'
          out[data_key] = self.data
          out.update(self.options)
          return dict([
              (key, list(value.items(multi=True)))
              for key, value in iteritems(out)
          ])
docs: Export to Requests format.
  
          :param str method: Request method
          :return: Dict of keyword arguments formatted for `requests.request`