narrow-forest-28560
08/27/2025, 11:12 PMancient-application-36103
08/27/2025, 11:14 PM@metaflowize
def foo(...)ancient-application-36103
08/27/2025, 11:14 PMfoo ?ancient-application-36103
08/27/2025, 11:15 PMnarrow-forest-28560
08/27/2025, 11:18 PM@metaflowize
@batch(cpu,memory)
def foo(…) -> pl.DataFrame
Then directly calling foo will run the function in AWS Batch provided that the necessary config is added to Metaflow profile.square-wire-39606
08/27/2025, 11:19 PMsquare-wire-39606
08/27/2025, 11:20 PMnarrow-forest-28560
08/27/2025, 11:20 PMnarrow-forest-28560
08/27/2025, 11:21 PMnarrow-forest-28560
08/27/2025, 11:22 PMuser_step_decorator and MutableFlow or similarsquare-wire-39606
08/27/2025, 11:22 PMnarrow-forest-28560
08/27/2025, 11:23 PMhundreds-rainbow-67050
08/27/2025, 11:23 PMfoo has some arguments?ancient-application-36103
08/27/2025, 11:23 PMancient-application-36103
08/27/2025, 11:23 PMhundreds-rainbow-67050
08/27/2025, 11:24 PMnarrow-forest-28560
08/27/2025, 11:25 PMnarrow-forest-28560
08/27/2025, 11:26 PMdry-beach-38304
08/28/2025, 7:10 AMfoo(a, b) -> c and run it in a Metaflow flow with two steps (minimum metaflow flow) where the start step would effectively execute the foo function and the end step would be a no-op
• you want to be able to apply other Metaflow flow or step level decorators to this function (like the batch you showed, or pypi, etc.
• you want input of that function to map to Parameter (for simple types — we don’t currently support too complex things but thinking about it)
• you want the output of that function to be stored in an artifact like run.output_variable or something like that.
• ideally, you would like the Runner to take the class directly (the class formed through the @metaflowize decorator
Did I capture what you are looking for accurately?