jorwoods
06/12/2020, 4:06 PMtarget
override a Result's location
as the former is more specific to a Task. Laura mentioned keeping them separate for the purposes of having the task caching be more opt-in behavior, but I don't understand how providing a templated string to location
doesn't also qualify as that behavior. Is there opposition to having a Result's exists
method check for the passed in variable if there is one, and also check for self.location
?Jenny
06/12/2020, 5:15 PMjorwoods
06/12/2020, 5:20 PMjosh
06/12/2020, 5:26 PMjorwoods
06/12/2020, 5:38 PMResult
.
Are the validators on Result then there to ensure the proper item was written out upon task completion, rather than to ensure the result is still valid upon next run? Or is there some other use of a Result's validators that I am missing?
Also trying to figure this out as sometimes I may want to manually rerun the flow sometimes in a scenario where it ignores all existing cache, and reproduces everything. I think that may be a common enough need, that I would like to contribute it back to core if possible rather than writing an external utility to handle it.josh
06/12/2020, 5:41 PMjorwoods
06/12/2020, 5:52 PM