Now that we are Python 3 only, it's fairly straightforward to enable things like
from .data import process_data
in the main.py of a directory style Bokeh server app. And even to have subpackages with __init__.py files work. This has been a fairly unpleasant pain point for some users.
A minimal diff just sets __path__ and __package__ but we will want to put it behind a flag so that it only happens for directory style apps:
As a side note make_id currently by default just makes a sequential counter. We might want to update it to better guarantee uniqueness. Or possibly offer an option to specify the package name.
Now that we are Python 3 only, it's fairly straightforward to enable things like
in the
main.py
of a directory style Bokeh server app. And even to have subpackages with__init__.py
files work. This has been a fairly unpleasant pain point for some users.A minimal diff just sets
__path__
and__package__
but we will want to put it behind a flag so that it only happens for directory style apps:The text was updated successfully, but these errors were encountered: