Skip to content

Commit

Permalink
Don't flatten names into dlg package anymore
Browse files Browse the repository at this point in the history
This flattening is not really useful anymore, because in order to
achieve it one has to import dlg.runtime, which will "magically" make
dlg.delayed appear for example. This flattening was here only to try to
avoid backwards incompatibility, but that seems unavoidable. Instead,
some release notes will have to be written on how to do this in the
future.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Mar 17, 2020
1 parent 6c0be6d commit 6205305
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions daliuge-runtime/dlg/runtime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,3 @@ def makeRecord(self, *args, **kwargs):
from .version import version as __version__
from ..apps import get_include_dir
from ..dask_emulation import delayed
import dlg
dlg.get_include_dir = get_include_dir
dlg.delayed = delayed

0 comments on commit 6205305

Please sign in to comment.