eager-activity-66247
03/05/2026, 3:12 AMIncluding file .../metaflow-tutorials/02-statistics/movies.csv of size 191KB
Parameter field failed:
When evaluating the field default for the Parameter movie_data, the following exception occurred:
...
metaflow.plugins.datatools.s3.s3.MetaflowS3URLException: Initialize S3 with an 's3root' or 'run' if you don't want to specify full s3:// urls.
I made a stripped-down version of the tutorial python script (attached).
When I run the local command: python 02-statistics/stats_short_includefile.py run The failure above occurs.
If I comment out the "IncludeFile" call. The job runs successfully.
The overarching question is, now that I have AWS Batch set up, how do I cause a script to use a local data file?
(I've also attached "movies.csv" to make it easier to run the test.)hundreds-rainbow-67050
03/05/2026, 4:22 AMhundreds-rainbow-67050
03/05/2026, 4:24 AM--with batch?eager-activity-66247
03/05/2026, 8:49 PM"METAFLOW_DATATOOLS_S3ROOT": "<Ms3://bpw>... It must have been a typo by me when running metaflow configure aws.
Now, both local and --with batch work just fine.
And, thank you for the link to "Non-Python dependencies". The --package-suffixes option looks very useful and convenient. I'll be mindful of your "not advised to bundle large files" comment.
You asked whether I'm running with --with batch. I am. Do you have any general comment or guidance on that approach? It seems much easier to set up.
Thanks again!!hundreds-rainbow-67050
03/05/2026, 9:08 PMeager-activity-66247
03/06/2026, 7:12 PMhundreds-rainbow-67050
03/06/2026, 8:15 PMI actually engaged Claude in a very satisfying discussion and it suggested MetaflowClaude does seem to like us! We were on the Anthropic homepage at one point 🙂
there are a number of documents that are similar yet give slightly divergent information.this isn't good. if you can point out which ones, we can try to make it clearer
one advantage of Metaflow is that one can develop locally, using the tools for even small problemslocal -> cloud scaling is one of the core value props of metaflow: https://docs.metaflow.org/scaling/introduction
interpreted the term "sandbox" to mean "useable as a learning tool but not for real work"I could see why you have that interpretation, although the pure definition only means isolation and restricted permissions, not a specific environment like dev/test/prod. To be clear, Metaflow does not have any opinion on your choice of cloud or backend provider -- it's up to you to pick the right ones to satisfy your requirements. That being said, if you have long running jobs then sandboxes such as daytona/e2b are likely not the right match for your workload since their core value prop is in fast container startup times (along with the isolation) -- if your job takes a long time then the startup time isn't that much of a problem. The only reason I pointed you to that project is because the setup is much less than wrangling with CF/Terraform to get things setup on AWS -- things you will probably eventually need anyway as your workload scales. I will also mention (not affiliated in any way) that Outerbounds has a managed cloud offering that's supposed to make the onboarding easier, although since you mention privacy concerns I don't know if that would be an acceptable solution for your business.
I'd like to offer what I come up with back to the projectWe welcome contributions! Please start a thread in #C020U025QJK and we can take things from there