:wave: Hey all. I'm wondering if there is currentl...
# ask-metaflow
s
👋 Hey all. I'm wondering if there is currently a way to exclude certain directories / files from the code package that metaflow generates. The current issue is that we use the flag
--package-suffixes=".ipynb"
to include card notebooks, but this also includes analysis notebooks in a
./notebooks/
directory. This bloats the package quite a lot and makes things slow.
1
digging in https://github.com/Netflix/metaflow/blob/master/metaflow/package.py revealed the argument
exclude_hidden
in the _walk method, but it doesn't look like this is exposed to the CLI at all
s
you can symlink the necessary files/folders in a new location and execute your flow from there - https://outerbounds-community.slack.com/archives/C020U025QJK/p1645067250586179?thread_ts=1644857784.908899&cid=C020U025QJK
💯 1
s
👍 thanks!