if not isinstance(other, Model):
raise ValueError(""other" is not a Bokeh model: %r" % other)
if other_attr not in other.properties():
raise ValueError("%r is not a property of other (%r)" % (other_attr, other))
from bokeh.models import CustomJS
After Change
if not isinstance(other, Model):
raise ValueError(""other" is not a Bokeh model: %r" % other)
other_descriptor = other.lookup(other_attr, raises=False)
if other_descriptor is None:
raise ValueError("%r is not a property of other (%r)" % (other_attr, other))
from bokeh.models import CustomJS