class_docstr: Jupyter kernel manager that connects to a remote kernel.
docstr: Create a client configured to connect to our kernel.
docstr_tok: ["Create","a","client","configured","to","connect","to","our","kernel","."]
code: def client(self, **kwargs: typing.Any):
      """Create a client configured to connect to our kernel."""
      kernel_client = super().client(**kwargs)
      # load connection info to set session_key
      config: dict[str, int | str | bytes] = dict(
          ip=self.ip,
          shell_port=self.shell_port,
          iopub_port=self.iopub_port,
          stdin_port=self.stdin_port,
          control_port=self.control_port,
          hb_port=self.hb_port,
          key=self.session_key,
          transport="tcp",
          signature_scheme="hmac-sha256",
      )
      kernel_client.load_connection_info(config)
      return kernel_client
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from jupyter_client import AsyncKernelManager
  from papermill.clientwrap import PapermillNotebookClient
  from papermill.engines import NBClientEngine
  from papermill.utils import merge_kwargs, remove_args
  from traitlets import Unicode
  from airflow.hooks.base import BaseHook
label_desc: Use image node_id 3 for calling the RemoteKernelManager obj's underlying member method code with example usage: obj.client() and returns: kernel_client