https://dagster.io/ logo
Title
i

Igor

09/26/2022, 2:53 PM
Hi, is there a way to return a result (json) from a job, so that it could be later grabbed by a GraphQL query after the job completes? Or resources is the only way to return some information to the outside?
c

claire

09/26/2022, 5:24 PM
Hi Igor. There isn't currently a way to fetch an op output from within a job via graphQL. You could use resources, or you could log your output as metadata and then read this metadata by fetching run logs in graphQL: https://dagster.slack.com/archives/C01U954MEER/p1655125539706999
i

Igor

09/26/2022, 8:25 PM
Cool, thanks for the tip on metadata!