there was an issue with the layout of my simple git example. So if you do the above it should work
Hi AverageRabbit65 ,
Is this part of a repository? if so, you can specify the repo in the add_function_step
TimelyPenguin76
thanks again... I have tried what you have suggested. It does inject the dir, but not cloning the whole content.
os.system("tree")
from within demo.py pipeline step function:
└── test-demo-clearml.git ├── demo.py ├── __init__.py ├── local_dir └── step_one_task.py
vs.
from the actual tree (under ~/clearml_using_local_lib
)
` tree
.
├── demo.py
├── init.py
└── local_dir
├── hello.py
├── init.py
└── pycache
└── init.cpython-37.pyc
2 directories, 5 files `
in the python
pipe.add_function_step( name=step_one, function=step_one_task, repo="~/clearml_using_local_lib", )
Will make it as a local repo. Thank you so much!