old_contents: class HttpQueryError(Exception):
      def __init__(self, status_code, message=None, is_graphql_error=False, headers=None):
          self.status_code = status_code
          self.message = message
          self.is_graphql_error = is_graphql_error
          self.headers = headers
          super(HttpQueryError, self).__init__(message)
  
      def __eq__(self, other):
          return isinstance(other, HttpQueryError) and \
              other.status_code == self.status_code and \
              other.message == self.message and \
              other.headers == self.headers
  
      def __hash__(self):
          return hash((self.status_code, self.message, self.headers))
  
new_contents: import json
  
  
  class HttpQueryError(Exception):
      def __init__(self, status_code, message=None, is_graphql_error=False, headers=None):
          self.status_code = status_code
          self.message = message
          self.is_graphql_error = is_graphql_error
          self.headers = headers
          super(HttpQueryError, self).__init__(message)
  
      def __eq__(self, other):
          return isinstance(other, HttpQueryError) and \
              other.status_code == self.status_code and \
              other.message == self.message and \
              other.headers == self.headers
  
      def __hash__(self):
          return hash((self.status_code, self.message, json.dumps(self.headers)))
  
subject: fix __hash__() for HttpQueryError