Skip to content

"transient" set to None explicitly breaks execute #321

@callmephilip

Description

@callmephilip

I am trying to get to the bottom of this issue with deno kernel and so I managed to track it down to the following:

 display_id = content.get("transient", {}).get("display_id", None)

throws when receiving message with the following content (note explicit None which causes the issue):

{'execution_count': 7, 'data': {'text/plain': '\x1b[32m"2.29.4"\x1b[39m'}, 'metadata': {}, 'transient': None}

Should this be addressed in nbclient or is this an issue with the kernel?

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