is it possible to have run output metadata display...
# ask-community
d
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
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
awesome, thanks!
can the metadata value be a dictionary, or is that type not supported?
o
as long as that dictionary is json-serializable, it should work