Enda Peng
05/10/2021, 6:44 PMfoo.py
where flowA
is encoded. I can easily run into following cases:
• register with -p ./foo.py
, it doesn’t work while -p foo.py
works.
• Under same folder /pipelines/
there are two files flow.py, common_task.py
, I can also run into import error, sometimes from .common_task import xxx
works sometimes not, depending on how PYTHONPATH is set.
So far my experience is to make sure local agent run on the same level where my resiger
command is called, no leading dot in register command etc. Curious about whether ppl have better ideas on how to manage the entire process.Kevin Kho
WORKDIR
.Enda Peng
05/10/2021, 7:42 PMKevin Kho
Enda Peng
05/10/2021, 8:40 PM