{ } Raw JSON

bundles / jupyter_client latest / jupyter_client / session / Session / clone

function

jupyter_client.session:Session.clone

source: /jupyter_client/session.py:589

Signature

def clone(self) → Session

Summary

Create a copy of this Session

Extended Summary

Useful when connecting multiple times to a given kernel. This prevents a shared digest_history warning about duplicate digests due to multiple connections to IOPub in the same process.

Aliases

  • jupyter_client.channels.Session.clone