Hi everyone - I am trying to understand what `Resu...
# ask-community
m
Hi everyone - I am trying to understand what
Result.validate
does - and where exactly it is being called (can’t seem to find when its invoked by the runner?) - what does it mean for a task to have an invalid Result ? (any explanation would be much appreciated - thanks)
j
Hi @Marwan Sarieddine Result.validate runs any validator functions associated with this result and returns whether the result is valid or not. You can read more about it and results in general in the docs here: https://docs.prefect.io/api/latest/engine/result.html#result
m
Hi @Jenny - thanks for your response - so I see the
validate()
method implemented for
Result
- but I dont see where/when it is being called ?
j
Hi Marwan - The core team just updated me that Result.validate won't run automatically (yet). We plan to implement that as a part of Pin 16
m
@Jenny - Ah I see (thanks for checking), would be nice to know a rough timeline for its implementation
j
Hi Marwan. I did check timeline too but I'm afraid we don't have one yet. I'll make sure your interest is registered though.
👍 1