
I have had a bokeh application running for the past 2 years (now using Bokeh version 0.12.15).
I tried using the latest version and it’s not backward compatible, at least in the way I programmed it. I have a tendency to always use classes as it is very practical to access any attribute, and because that’s how it is done with (py)qt.
However methods don’t fit the mandatory callback signature for Buttons & other widgets in later versions of Bokeh, and I receive the following error:
2019-07-25 08:22:10,709 Error running application handler <bokeh.application.handlers.directory.DirectoryHandler object at 0x0000023D12ADE9B0>: Event callback must have signature func(event), got func(*args, **kwargs)
It can be tested by cloning softfocus
My question is the following: is there a way to for me to slightly modify my Bokeh applications or do I have no other choice than using global variables and no class?
I couldn’t find any references or questions regarding this new callback signature. If this question was already answered and I missed it, please accept my apologies and redirect me to it.
last related question: is it possible to get professional support from Anaconda for Bokeh apps? I have sent an inquiry to Anaconda and got no response…
Thanks to Brian and the whole team!

