First, I am fairly new to bokeh but it seems great, thank you to the dev team.
First some background.
In the online documentation you give a few ways to start the server.
A)
bokeh serve --show myapp.py
B)
bokeh server
and then run myapp.py using
python myapp.py
I really like the B because it allows me to run myapp.py in my IDE and debug it. Not sure if this is encouraged though.
In fact, from reading through the email posts it seems that Bryan and other favor the first method.
Now the questions
- Is method B, i.e. just starting the server then connecting my app later, going away?
I certainly hope not.
- if B is going away, will there still be a way to run my app code in my favorite debugger?
pdb is ok but not nearly as functional as in Wing or PyCharm
- If B is not going away, can you suggest how I can strucutre my code so that myapp recognizes which way it is being used
and offers the appropriate calls. E.g. no push_session if using method A
- Any other advice on the different ways of connecting python code to the server.
For example, I might want a setup that allows several of my coworkers to use myapp
thank you in advance and best regards,
John Muller