-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updatable Displays #225
Updatable Displays #225
Conversation
Should |
(For |
Ah yes, that's important. |
``display_data`` or ``execute_result``. | ||
|
||
When a ``display_id`` is specified for a display, it can be updated later | ||
with an ``update_display_data`` message. This message has the same format as `display_data`_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double check the '`' and triple backticks in this line and the next. Looks like some typos.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, that's my complete markdown bias showing. I've completely forgotten how to write restructured text.
'data' : dict, | ||
|
||
# Any metadata that describes the data | ||
'metadata' : dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing comma?
|
||
# Any information not to be persisted to a notebook or other environment | ||
# Intended to live only during a kernel session | ||
'transient': dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing comma?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for the fixes.
This is good to go and/or have some more review. |
Update Display Data | ||
------------------- | ||
|
||
Displays can now be named with a ``display_id`` within the ``transient`` field of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add .. versionadded:: 5.1
here?
transient = { | ||
'display_id': 'abcd' | ||
} | ||
|
||
.. versionchanged:: 5.0 | ||
|
||
`application/json` data should be unpacked JSON data, | ||
not double-serialized as a JSON string. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add .. versionchanged:: 5.1
note for when transient
will arrive
@minrk Thanks, updated! |
Thanks! |
The protocol updates for #209, updateable displays.
display_id
intent