Skip to content

What is equivalent to InteractiveShell.kernel.comm_manager.register_target('file_request', target_func)? #51

@rraadd88

Description

@rraadd88

Hi,
I encountered this error while using an interactive tool through CaptureShell:

---> 61 get_ipython().kernel.comm_manager.register_target('file_request', target_func)
AttributeError: 'CaptureShell' object has no attribute 'kernel'

Is there any equivalent to InteractiveShell's InteractiveShell.kernel.comm_manager.register_target('file_request', target_func) or colab notebook's google.colab.output.register_callback('ReadFile', callback) attributes that I could use to resolve the error?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions