Wesley Jin
02/22/2022, 10:08 PMFailed to load and execute Flow's environment: ModuleNotFoundError("No module named 'constants'")
I’m importing constants which will be shared across many flows: the project name, ECS cluster name, Github Token secret name from a constants.py
file in the same directory. Running the flow locally with flow.run()
works just fine as expected, but when running it in ECS constants
is not found. How do I register other module dependencies with Github storage, if possible? Or do I have to add these constant values to each of my flow files? Thank you!
Example below:
. (repo root)
|____flows
| |____hello.py
| |____constants.py
| |______init__.py
Anna Geller
02/22/2022, 10:12 PMWesley Jin
02/22/2022, 10:17 PMKevin Kho
02/22/2022, 10:48 PM