Skip to content
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

[Proposal] Include channel name in IOPub status messages #839

Open
Zsailer opened this issue Sep 22, 2022 · 1 comment
Open

[Proposal] Include channel name in IOPub status messages #839

Zsailer opened this issue Sep 22, 2022 · 1 comment

Comments

@Zsailer
Copy link
Member

Zsailer commented Sep 22, 2022

Another idea sparked by #838.

Today, both the control and shell channel can trigger IOPub status messages, but there is no easy way to tell which parent channel caused a given IOPub message. We could add "channel" as part of the IOPub's message specification, e.g.:

{
    ...
    "parent_header": {
        "channel": "shell",
        ...
    },
    "execution_state": ...
}
@minrk
Copy link
Member

minrk commented Sep 23, 2022

I like this solution. It should probably go in the content of the status message, since it's specifying what is idle/busy/etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants