
This is a technical source code question in context of a future PR.
In Bokeh model properties with their default values are stored as class variables. For certain models a property of the model can be an instance of the class itself (see example below).
My question is now, how one would set a default value of this property that isn’t None?
Replacing the None with a constructor call to the respective class (i.e., default=DatetimeTickFormatter()) is invalid in Python. Thus I am wondering if there is an option around this within Bokeh (for the Python as well as JS part)?
Reference example:

