{ } Raw JSON

bundles / jupyter_client latest / jupyter_client / connect / ConnectionFileMixin / get_connection_info

function

jupyter_client.connect:ConnectionFileMixin.get_connection_info

source: /jupyter_client/connect.py:426

Signature

def get_connection_info(self, session: bool = False) → KernelConnectionInfo

Summary

Return the connection info as a dict

Parameters

session : bool [default: False]

If True, return our session object will be included in the connection info. If False (default), the configuration parameters of our session object will be included, rather than the session object itself.

Returns

connect_info : dict

dictionary of connection information.

Aliases

  • jupyter_client.client.ConnectionFileMixin.get_connection_info