https://prefect.io logo
Title
j

Jonathan Wright

04/20/2021, 3:39 PM
Is there a way to inspect the return values of tasks in the “Flow Run Schematic” view? Or are they intentionally omitted.
k

Kevin Kho

04/20/2021, 3:56 PM
Hey @Jonathan Wright! There is no way to get the return values of tasks (because they can be big).
j

Jonathan Wright

04/20/2021, 4:01 PM
thank you
k

Kevin Kho

04/20/2021, 6:28 PM
Clarified with the team and you can use
PrefectResult
to render JSON in the UI. Note that by default, Prefect does not see any of your data (hybrid model). By doing this, you are opting in to share your data.
1
j

Jonathan Wright

04/21/2021, 10:40 AM
Thank you for following up @Kevin Kho. I have
PrefectResult
working now, and that’s exactly what I was looking for! Some of our tasks will be simply manipulating the input parameters so their output will not be bigger or more sensitive than than the parameters themselves. I anticipate this will be really helpful for debugging flows from the UI.