What are the options for importing local packages ...
# ask-the-community
a
What are the options for importing local packages inside a workflow? For example, I have a task in one file, and I keep the logic for it in another file so that the logic can be shared between different components. But when I go to import from that other file while the task is running, it can’t find it. Does the code have to be built into the image spec, or is there a way around that? I’m just thinking during development, if you make a slight change in the imported code, it can take awhile to rebuild the entire image for the image spec, if the local code changes (assuming its installed via pip from the repo, as an example). Is there a quicker way to update the imported code inside a task, for quick iteration?