def request(self, http_verb, path, data=None):
    verb = http_verb.upper()
    methodmap = dict(
      GET=self.get,
      PUT=self.put,
      HEAD=self.head,
      POST=self.post,
      PATCH=self.patch,
      DELETE=self.delete)
    if methodmap in verb:
      return methodmap[verb](self._url(path))
    else:
      raise ValueError(
        'Invalid HTTP Method. Use: HEAD, GET, POST, PATCH, PUT, DELETE')
dataset/ETHPy150Open gregorynicholas/flask-github/flask_github/github.py/Github.request/swapped operands of `in`