Open ambarb opened 2 years ago
should say that dictionary key works so data is still accessible.
print(list(runs[0].metadata))
runs[0].metadata["summary"]
Just didn't expect for only run.start
and run.stop
to work and run.summary
to not work.
This is an interesting question. I considered run.start
and run.stop
"grandfathered" in since people are familiar with h.start
and h.stop
. But it would be reasonable to expend the pattern to any new keys (like run.summary
) for consistency. Good feedback.
I think also run.metadata.start
works but run.metadata.summary
does not.
CODE TO REPRODUCE:
OUTPUT:
The
run.metadata
object does return all three dictionary keys and their nested values. Just showing the values forsummary
for clarity.