https://dagster.io/ logo
#ask-community
Title
# ask-community
d

Danny Steffy

04/20/2023, 7:56 PM
is it possible to have run output metadata display in the UI for a job's run? I'd like to attach the output of a certain op in a job to the metadata so we can view the results in the UI
o

owen

04/21/2023, 8:41 PM
hi @Danny Steffy! this is possible -- just call
context.add_output_metadata({"key": "value"})
within the body of the op, and the metadata will show up in the logs 🙂
d

Danny Steffy

04/21/2023, 8:54 PM
awesome, thanks!
can the metadata value be a dictionary, or is that type not supported?
o

owen

04/22/2023, 12:01 AM
as long as that dictionary is json-serializable, it should work
10 Views