def transform(self, value):
        for param in self.type_params:
            try:
                return param.transform(value)
            except ValueError:
                pass

        raise ValueError("Could not transform %r" % value)
dataset/ETHPy150Open bokeh/bokeh/bokeh/core/properties.py/Either.transform/original