pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/ipython/ipython/pull/15071.patch

iveshell.py b/IPython/core/interactiveshell.py index fb6918e93f..86b390c307 100644 --- a/IPython/core/interactiveshell.py +++ b/IPython/core/interactiveshell.py @@ -3119,7 +3119,11 @@ def run_cell( a UUID generated by the frontend. If None, the kernel may generate an internal identifier or proceed without cell tracking capabilities. cell_meta : dict, optional - Metadata associated with the request. + Metadata associated with the request. This will be passed to any event + listeners as part of ExecutionInfo, enabling extension authors to append + data to execution requests from a client which can then be read by an IPython + extension. Extension authors are encouraged to place data associated with their extension + under a single string key in the dictionary. Returns ------- result : :class:`ExecutionResult` From 193fbe3068c82f4dd64d483c51d3453a24fe3256 Mon Sep 17 00:00:00 2001 From: Eric Rawn Date: Wed, 18 Mar 2026 15:26:46 -0700 Subject: [PATCH 4/4] added feature rst and updated docs --- docs/source/config/callbacks.rst | 1 + docs/source/whatsnew/pr/cell-meta.rst | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 docs/source/whatsnew/pr/cell-meta.rst diff --git a/docs/source/config/callbacks.rst b/docs/source/config/callbacks.rst index 60c7aba4a3..43b02efbcc 100644 --- a/docs/source/config/callbacks.rst +++ b/docs/source/config/callbacks.rst @@ -27,6 +27,7 @@ For example:: print('info.silent =', info.silent) print('info.shell_futures =', info.shell_futures) print('info.cell_id =', info.cell_id) + print('info.cell_meta =', info.cell_meta) print(dir(info)) def post_execute(self): diff --git a/docs/source/whatsnew/pr/cell-meta.rst b/docs/source/whatsnew/pr/cell-meta.rst new file mode 100644 index 0000000000..07626ce2e9 --- /dev/null +++ b/docs/source/whatsnew/pr/cell-meta.rst @@ -0,0 +1,5 @@ +Cell_Meta now a part of ExecutionInfo +------------------------------------- +The ``cell_meta`` field is now part of the ``ExecutionInfo`` object, which is passed to IPython extensions in the ``pre_run_cell`` and ``post_run_cell`` callbacks. + +See :ghpull:`15071` \ No newline at end of file pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy