Replies: 2 comments 2 replies
-
Would you be able to provide a specific example? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that marimo currently discards the optional metadata returned by the
_repr_mimebundle_method, which is also noted in the documentation:(Related PR #6165)
I'm curious about the reasoning behind this design choice. Implementing metadata preservation seems straightforward and would improve compatibility with libraries that rely on the Jupyter metadata spec to provide information like image dimensions.
In
marimo/_output/formatters/repr_formatters.py, the metadata dict is unpacked into an unused variable:We can preserve this information by merging it into the
contentsdictionary usingMETADATA_KEY:Is there an architectural, security, or performance-related reason why this metadata is intentionally omitted?
Beta Was this translation helpful? Give feedback.
All reactions