Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add cell_meta to ExecutionInfo #15065

Copy link
Copy link
@erawn

Description

@erawn
Issue body actions

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.