@staticmethod
    def _validate_type_param(type_param):
        if isinstance(type_param, type):
            if issubclass(type_param, PropertyDescriptor):
                return type_param()
            else:
                type_param = type_param.__name__
        elif isinstance(type_param, PropertyDescriptor):
            return type_param

        raise ValueError(type_param % "expected a PropertyDescriptor as type parameter, got %s")
dataset/ETHPy150Open bokeh/bokeh/bokeh/core/properties.py/ParameterizedPropertyDescriptor._validate_type_param/swapped operands of `%`