def from_json(self, json, models=None):
        if json is None or isinstance(json, self._underlying_type):
            return json
        else:
            expected = nice_join([ cls.__name__ for cls in self._underlying_type ])
            raise DeserializationError((self, expected, json) % "%s expected %s, got %s")
dataset/ETHPy150Open bokeh/bokeh/bokeh/core/properties.py/PrimitiveProperty.from_json/swapped operands of `%`