question about manually setting a task from e.g. f...
# ask-community
m
question about manually setting a task from e.g. failed to success, is it possible to provide the output of the task?
k
Hey @Martim Lobao, a bit unclear what you mean by provide. Do you want to supply what the return would be if it succeded?
m
exactly
if I have a task and manually set its state to “success”, it’s return value is
None
afaict
is it possible to provide a return value when setting the state to success?
k
Doesn’t look like it, but maybe you can hack it is there is a Result that you can just fill the value so that a restart will pull from that location. I am not sure this will work.
m
hmm gotcha, figured it might not currently be possible to do. nbd, I can figure a workaround then
thanks @Kevin Kho 🙂