Can I get the output of a result_handler on a task...
# show-us-what-you-got
z
Can I get the output of a result_handler on a task from within a state_handler on that same task?
c
Hi @Zach - yes you should be able to access anything about the task’s result / result handler by accessing
new_state._result
(note the underscore)
z
@Chris White the
new_state._result
value is the value of the result of the task. I am using the GCSResultHandler and I want the output of it's write() method so my state handler can have the URI that the result is written to in GCS.
c
correct, so you want
new_state._result.safe_value.value