Skip to content

Commit

Permalink
do not import DaskVineDag if dask not available
Browse files Browse the repository at this point in the history
  • Loading branch information
btovar committed Jan 8, 2025
1 parent 283b036 commit 5ed5dcb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions taskvine/src/bindings/python3/ndcctools/taskvine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,11 @@
LibraryTask,
FunctionCall,
)
from .dask_dag import DaskVineDag

from . import cvine

try:
from .dask_executor import DaskVine
from .dask_dag import DaskVineDag
except ImportError as e:
print(f"DaskVine not available. Couldn't find module: {e.name}")

Expand Down

0 comments on commit 5ed5dcb

Please sign in to comment.