Can you perhaps upload them as artifacts to the task and extract/import them in your script?
That sounds like an interesting hack 😃 I'll try it out, thanks!
common_module = task.connect_configuration("../common.py", "common.py")
if not task.running_locally():
import shutil
shutil.copy(common_module, "common.py")
from common import test_common
test_common()
it seems that connecting it as config is more convenient than uploading an artifact, because artifacts are deleted when cloning a task. Code is very simple:
I also cannot create a package out of common code, because the package registry is inside the internal network as well