https://prefect.io logo
Title
b

Ben Fogelson

04/08/2020, 4:35 PM
Apologies if this is in the docs somewhere and I just couldn’t find it. Are there hooks for task input and output validation?
d

Dylan

04/08/2020, 4:44 PM
Our team is working on the Result interface now!
b

Ben Fogelson

04/08/2020, 4:47 PM
Thanks @Dylan! Looking at the PIN it looks like output validation will be supported. Will there be something similar for input validation?
d

Dylan

04/08/2020, 4:56 PM
@Ben Fogelson I’m not 100% sure, so I’m checking in with the team members working on the interface. Will report back ASAP
Hey @Ben Fogelson, using this interface you’ll be able to validate the inputs of your tasks, as long as those inputs were produced by Prefect tasks
b

Ben Fogelson

04/08/2020, 5:12 PM
Awesome, thanks for looking into it @Dylan. Do you have a sense of the release timeline for the interface?
d

Dylan

04/08/2020, 5:13 PM
Note: all inputs to prefect tasks must be provided as the output from another task (even if they’re Parameters or Secrets), consequently input validation and output validation should provide equivalent functionality
It’s in active development, so keep an eye on the next few releases!
b

Ben Fogelson

04/08/2020, 5:17 PM
👍