Boris Gaganelov
01/21/2021, 9:44 PMGitLab
as a Storage - things seem to be working fine except for flows which actually import things from a GitLab subdirecroty.
So I keep getting ModuleNotFoundError("No module named 'tasks'")
.
My Storage repository file structure looks a bit like this:
root-of-repo/
├── flow_hello.py
└── tasks/
├── __init__.py
└── hello.py
And the in-code flow config is looking like so:
flow.storage = GitLab(
repo="XXXXX",
host="XXXXX",
path="flows/flow_hello.py",
secrets=["GITLAB_ACCESS_TOKEN"],
ref="master",
)
But it seems to be failing to resolve the import so I'm a little bit confused.
Am I somehow able to add it to the path of the agent despite it being a GitLab storage?Zanie
Zanie
Boris Gaganelov
01/21/2021, 10:07 PMZanie