Hello again team! Sorry to bother: When metaflow i...
# ask-metaflow
r
Hello again team! Sorry to bother: When metaflow is being used to push a step function, the source code of the current workspace is being pushed in S3. But I noticed that only the python files are being pushed. Was wondering if it could be customized somewhere? (it would be to add a small joblib model in the source)
1
d
yes, you can use
--package-suffixes
. Let me find the doc
hun, we may not have it in the docs. You can get info using:
Copy code
python myflow.py --help
though and it will list something like this:
Copy code
--package-suffixes TEXT         A comma-separated list of file suffixes to
                                  include in the code package.  [default:
                                  .py,.R,.RDS]
so you can then do:
Copy code
python myflow.py --package-suffixes .py,.foobar run
for example
r
Im going to try this, thank you so much!
Worked like a charm thank you!
👍 1