def validate(self, value):
        super(Enum, self).validate(value)

        if not (value is None or self._enum in value):
            raise ValueError("invalid value: %r; allowed values are %s" % (value, nice_join(self.allowed_values)))
dataset/ETHPy150Open bokeh/bokeh/bokeh/core/properties.py/Enum.validate/swapped operands of `in`