f1e668d3bf88c88560dd2b40c6db8ea9500f9dc6,bokeh/model.py,Model,js_link,#Model#Any#Any#Any#Any#,398

Before Change


        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
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: bokeh/bokeh
Commit Name: f1e668d3bf88c88560dd2b40c6db8ea9500f9dc6
Time: 2021-01-25
Author: mattpap@gmail.com
File Name: bokeh/model.py
Class Name: Model
Method Name: js_link


Project Name: bokeh/bokeh
Commit Name: f1e668d3bf88c88560dd2b40c6db8ea9500f9dc6
Time: 2021-01-25
Author: mattpap@gmail.com
File Name: bokeh/model.py
Class Name: Model
Method Name: js_on_change


Project Name: bokeh/bokeh
Commit Name: f1e668d3bf88c88560dd2b40c6db8ea9500f9dc6
Time: 2021-01-25
Author: mattpap@gmail.com
File Name: bokeh/model.py
Class Name: Model
Method Name: on_change