purple-air-87768
05/22/2025, 11:57 PM@validate(input_schema={var: schema}, output_schema={var: schema})
@step
def step_func()
the decorator can hook the step function and perform validation at the start and end of the step function (after unpickling input vars and before pickling output vars).
i wonder if this is something interesting to Metaflow, or if there are more native way of doing validation as soon as the serialization happens.
thanks!victorious-lawyer-58417
05/23/2025, 12:02 AMvictorious-lawyer-58417
05/23/2025, 12:03 AM@validate
excited
nothing stops you from implementing it today, like in the above examplevictorious-lawyer-58417
05/23/2025, 12:22 AMpurple-air-87768
05/29/2025, 5:49 PM