David Ojeda

05/06/2020, 4:29 PM
So what’s the latest word on result_handlers? I have this warning when doing `flow.register`:
[2020-05-06 18:24:40]  WARNING - py.warnings | /home/david/.virtualenvs/iguazu-env/lib/python3.8/site-packages/prefect/client/ U
serWarning: No result handler was specified on your Flow. Cloud features such as input caching and resuming task runs from failure may not wor
k properly.
but the flow constructor docstring says:
- result_handler (ResultHandler, optional, DEPRECATED): the handler to use for
            retrieving and storing state results during execution
Should I add a no-op result handler to quiet that warning, or just ignore it?

Chris White

05/06/2020, 4:40 PM
Hi @David Ojeda! Result Handlers are being deprecated in favor of a new Results API that is being released next week with 0.11.0. This keyword argument will continue to work for a little while, and under the hood your result handler will be converted into a new-style Result
🙌 2

David Ojeda

05/06/2020, 4:57 PM
Oh next week already! Cool I will wait then!