best-vegetable-24036
07/25/2025, 10:13 PMBigFlow = FlowA + FlowB
2. Along a similar line of thinking it may be desirable to be able to inline another flow inside of a flow definition maybe using something like an @InlineFlow decorator that then places steps already defined as another flow into that location in a flow allowing incremental development of subparts of a larger flow.
3. Finally on the issue of composability down into the steps this is where the boundary I described above becomes more difficult to deal with. I want to emphasize I don't dislike the existence of this boundary as it allows clarity in terms of keeping track of what code runs where and consequently improves the ability to reason about data locality, vertical scaling optimizations etc rather than trusting some general purpose scheduler to get it right. Here i guess the inquiry would be around the idea that the units of work intended for a step may actually be fairly large and complex. The existing flows and steps api's are very nice to work with and just beg to be used inside these step boundaries to arrange work. Obviously, the parallel map exists and we have actually seen great performance in our tests when using dask inside a step to parallelize work as well. I'd imagine there are one or two other packages in the python ecosystem that may also work well here. The desire here then would be to extend a possibly more restricted syntax very similar to that of the steps themselves down into this context possibly backed by parallel map or dask or ray some other such engine. This seems like it would be a convenient and self similar sugar that could make it easier to chain, split and merge work steps even inside of the steps. Maybe they could be called sub steps or something like this
Unlike many in the community that have likely actually built complex systems using metaflow these questions come entirely from our explorations of the stack as we consider adopting it so they may reflect misunderstandings and just outright skill issues so if that's the case I would appreciate corrections of the implied mental model that more experienced members can see underneath this line of questioning. But of course direct comments on these ideas would also be interesting.
Thanks ahead of time.lively-lunch-9285
07/27/2025, 4:28 AMlively-lunch-9285
07/27/2025, 4:32 AMlively-lunch-9285
07/27/2025, 4:37 AMbest-vegetable-24036
07/27/2025, 6:28 PMlively-lunch-9285
07/28/2025, 4:04 AMtriggers can’t be run locallyActually, I think Metaflow recently launched a way to run FULL Metaflow locally with a CLI called
metaflow-dev which runs minikube
https://docs.metaflow.org/getting-started/devstacklively-lunch-9285
07/28/2025, 4:11 AMbest-vegetable-24036
07/28/2025, 2:36 PMancient-application-36103
07/28/2025, 3:55 PMsquare-wire-39606
08/27/2025, 9:28 PM