-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
Apologies for posting two issues but since this proposal spans ipykernel and ipython I thought I would split it up.
In this issue I proposed passing the cell_meta field to the shell. I'd like to pass this metadata field to any plugins which respond to the pre_run_cell and post_run_cell hooks, and it seems like the best way to do this would be to add cell_meta as a field in ExecutionInfo. I'd like to implement this, but I wanted to ask if there was anything I should look out for before I start. If there is another way to pass this information along to any plugins that would be better I'd be happy to implement that instead.
From what I can see, this would involve editing run_cell_async and run_cell in interactiveshell.py to look for an optional metadata parameter, and add it to the ExecutionInfo object when its created. Is there something else I'm not seeing?
Thanks so much!