@classmethod
  def key_for(cls, value):
    if cls.value_dict in value:
      return cls.value_dict[value]
    else:
      raise InvalidArgument("parse error: not a valid value for %s: %s" % (cls.__name__, value))
dataset/ETHPy150Open bloomreach/zinc/zinc.py/_Enum.key_for/swapped operands of `in`