code: def equals(self, data):
          
  
          if isinstance(data, six.string_types):
              return self._add_condition('=', data, types=[int, str])
          elif isinstance(data, list):
              return self._add_condition('IN', ",".join(map(str, data)), types=[str])
  
          raise QueryTypeError('Expected value of type `str` or `list`, not %s' % type(data))
docs: Adds new `IN` or `=` condition depending on if a list or string was provided
  
          :param data: string or list of values
          :raise:
              - QueryTypeError: if `data` is of an unexpected type