James
08/19/2020, 4:04 PMWORKS:
dagster pipeline execute -f module1/submodule1/submodule2/submodule3.py
-a my_fancy_repo
-p my_fancy_pipeline
--mode some_mode
-c config.yaml
IMPORT ERROR: no module named module1
dagster pipeline execute -m module1.submodule1.submodule2.submodule3
-a my_fancy_repo
-p my_fancy_pipeline
--mode some_mode
-c config.yaml
Running from the root folder containing module1
. All cross imports in submodules are of the format from module1.submodule1.... import a, b, c
. Tearing my hair out trying to understand why the behaviour is different. Tried to use -d
but get Error: Invalid set of CLI arguments for loading repository/pipeline. See --help for details.
Any ideas much appreciated!max
08/19/2020, 4:12 PMprha
08/19/2020, 4:12 PM-d
is giving you that error. Can you confirm what version of dagster you’re on?James
08/19/2020, 4:13 PMprha
08/19/2020, 4:13 PMJames
08/19/2020, 4:14 PMprha
08/19/2020, 4:16 PMJames
08/19/2020, 4:21 PMprha
08/19/2020, 4:23 PMJames
08/19/2020, 4:24 PMprha
08/19/2020, 4:25 PMJames
08/19/2020, 4:30 PM-m
has been my safe haven from import hell!