File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -966,6 +966,10 @@ Message type: ``display_data``::
966
966
967
967
# Any metadata that describes the data
968
968
'metadata' : dict
969
+
970
+ # Any information not to be persisted to a notebook or other environment
971
+ # Intended to live only during a kernel session
972
+ 'transient': dict
969
973
}
970
974
971
975
@@ -994,12 +998,20 @@ and expanded for JSON data::
994
998
}
995
999
}
996
1000
1001
+
1002
+ The ``transient `` dict contains runtime metadata that should not be persisted to
1003
+ document formats. The first field used in transient is `display_id `.
1004
+
997
1005
.. versionchanged :: 5.0
998
1006
999
1007
`application/json ` data should be unpacked JSON data,
1000
1008
not double-serialized as a JSON string.
1001
1009
1010
+ Update Display Data
1011
+ -------------------
1002
1012
1013
+ This message has the same format as `display_data `_ messages and must contain
1014
+ a ```transient `` field with a ``display_id ``.
1003
1015
1004
1016
Code inputs
1005
1017
-----------
You can’t perform that action at this time.
0 commit comments