Skip to content

Instantly share code, notes, and snippets.

@Carreau
Created October 25, 2023 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Carreau/33980adcb37886a54ce08a89112e254a to your computer and use it in GitHub Desktop.
Save Carreau/33980adcb37886a54ce08a89112e254a to your computer and use it in GitHub Desktop.
jupyter_client/launcher.py: note: In function "launch_kernel":
jupyter_client/launcher.py:163: error: Call to untyped function "get_logger" in typed context [no-untyped-call]
get_logger().error(msg)
^~~~~~~~~~~~
jupyter_client/restarter.py: note: In class "KernelRestarter":
jupyter_client/restarter.py:22: error: Call to untyped function "Instance" in typed context [no-untyped-call]
kernel_manager = Instance("jupyter_client.KernelManager")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/restarter.py:24: error: Call to untyped function "Bool" in typed context [no-untyped-call]
debug = Bool(
^
jupyter_client/restarter.py:33: error: Call to untyped function "Float" in typed context [no-untyped-call]
time_to_dead = Float(3.0, config=True, help="""Kernel heartbeat interval in seconds.""")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/restarter.py:35: error: Call to untyped function "Float" in typed context [no-untyped-call]
stable_start_time = Float(
^
jupyter_client/restarter.py:41: error: Call to untyped function "Int" in typed context [no-untyped-call]
restart_limit = Integer(
^
jupyter_client/restarter.py:47: error: Call to untyped function "Bool" in typed context [no-untyped-call]
random_ports_until_alive = Bool(
^
jupyter_client/restarter.py:52: error: Call to untyped function "Bool" in typed context [no-untyped-call]
_restarting = Bool(False)
^~~~~~~~~~~
jupyter_client/restarter.py:53: error: Call to untyped function "Int" in typed context [no-untyped-call]
_restart_count = Integer(0)
^~~~~~~~~~
jupyter_client/restarter.py:54: error: Call to untyped function "Bool" in typed context [no-untyped-call]
_initial_startup = Bool(True)
^~~~~~~~~~
jupyter_client/restarter.py:55: error: Call to untyped function "Float" in typed context [no-untyped-call]
_last_dead = Float()
^~~~~~~
jupyter_client/restarter.py:57: error: Untyped decorator makes function "_default_last_dead" untyped [misc]
@default("_last_dead")
^~~~~~~~~~~~~~~~~~~~~
jupyter_client/restarter.py:61: error: Call to untyped function "Dict" in typed context [no-untyped-call]
callbacks = Dict()
^~~~~~
jupyter_client/ioloop/restarter.py: note: In class "IOLoopKernelRestarter":
jupyter_client/ioloop/restarter.py:20: error: Call to untyped function "Instance" in typed context [no-untyped-call]
loop = Instance("tornado.ioloop.IOLoop")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py: note: In class "SessionFactory":
jupyter_client/session.py:213: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
logname = Unicode("")
^~~~~~~~~~~
jupyter_client/session.py:215: error: Untyped decorator makes function "_logname_changed" untyped [misc]
@observe("logname")
^~~~~~~~~~~~~~~~~~
jupyter_client/session.py:220: error: Call to untyped function "Instance" in typed context [no-untyped-call]
context = Instance("zmq.Context")
^~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:225: error: Call to untyped function "Instance" in typed context [no-untyped-call]
session = Instance("jupyter_client.session.Session", allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:227: error: Call to untyped function "Instance" in typed context [no-untyped-call]
loop = Instance("tornado.ioloop.IOLoop")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py: note: In member "__init__" of class "SessionFactory":
jupyter_client/session.py:234: error: Call to untyped function "__init__" in typed context [no-untyped-call]
super().__init__(**kwargs)
^~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py: note: In class "Session":
jupyter_client/session.py:342: error: Call to untyped function "Bool" in typed context [no-untyped-call]
debug = Bool(False, config=True, help="""Debug output in the Session""")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:344: error: Call to untyped function "Bool" in typed context [no-untyped-call]
check_pid = Bool(
^
jupyter_client/session.py:353: error: Call to untyped function "DottedObjectName" in typed context [no-untyped-call]
packer = DottedObjectName(
^
jupyter_client/session.py:361: error: Untyped decorator makes function "_packer_changed" untyped [misc]
@observe("packer")
^~~~~~~~~~~~~~~~~
jupyter_client/session.py: note: In member "_packer_changed" of class "Session":
jupyter_client/session.py:373: error: Call to untyped function "import_item" in typed context [no-untyped-call]
self.pack = import_item(str(new))
^~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py: note: In class "Session":
jupyter_client/session.py:375: error: Call to untyped function "DottedObjectName" in typed context [no-untyped-call]
unpacker = DottedObjectName(
^
jupyter_client/session.py:382: error: Untyped decorator makes function "_unpacker_changed" untyped [misc]
@observe("unpacker")
^~~~~~~~~~~~~~~~~~~
jupyter_client/session.py: note: In member "_unpacker_changed" of class "Session":
jupyter_client/session.py:394: error: Call to untyped function "import_item" in typed context [no-untyped-call]
self.unpack = import_item(str(new))
^~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py: note: In class "Session":
jupyter_client/session.py:396: error: Call to untyped function "CUnicode" in typed context [no-untyped-call]
session = CUnicode("", config=True, help="""The UUID identifying this session.""")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:403: error: Untyped decorator makes function "_session_changed" untyped [misc]
@observe("session")
^~~~~~~~~~~~~~~~~~
jupyter_client/session.py:408: error: Call to untyped function "CBytes" in typed context [no-untyped-call]
bsession = CBytes(b"")
^~~~~~~~~~~
jupyter_client/session.py:410: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
username = Unicode(
^
jupyter_client/session.py:416: error: Call to untyped function "Dict" in typed context [no-untyped-call]
metadata = Dict(
^
jupyter_client/session.py:424: error: Call to untyped function "Int" in typed context [no-untyped-call]
adapt_version = Integer(0)
^~~~~~~~~~
jupyter_client/session.py:428: error: Call to untyped function "CBytes" in typed context [no-untyped-call]
key = CBytes(config=True, help="""execution key, for signing messages.""")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:433: error: Untyped decorator makes function "_key_changed" untyped [misc]
@observe("key")
^~~~~~~~~~~~~~
jupyter_client/session.py:437: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
signature_scheme = Unicode(
^
jupyter_client/session.py:444: error: Untyped decorator makes function "_signature_scheme_changed" untyped [misc]
@observe("signature_scheme")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:456: error: Call to untyped function "Any" in typed context [no-untyped-call]
digest_mod = Any()
^~~~~
jupyter_client/session.py:461: error: Call to untyped function "Instance" in typed context [no-untyped-call]
auth = Instance(hmac.HMAC, allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:469: error: Call to untyped function "Set" in typed context [no-untyped-call]
digest_history = Set()
^~~~~
jupyter_client/session.py:470: error: Call to untyped function "Int" in typed context [no-untyped-call]
digest_history_size = Integer(
^
jupyter_client/session.py:479: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
keyfile = Unicode("", config=True, help="""path to file containing execution key.""")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:481: error: Untyped decorator makes function "_keyfile_changed" untyped [misc]
@observe("keyfile")
^~~~~~~~~~~~~~~~~~
jupyter_client/session.py:487: error: Call to untyped function "Int" in typed context [no-untyped-call]
pid = Integer()
^~~~~~~~~
jupyter_client/session.py:491: error: Call to untyped function "Any" in typed context [no-untyped-call]
pack = Any(default_packer) # the actual packer function
^~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:493: error: Untyped decorator makes function "_pack_changed" untyped [misc]
@observe("pack")
^~~~~~~~~~~~~~~
jupyter_client/session.py:499: error: Call to untyped function "Any" in typed context [no-untyped-call]
unpack = Any(default_unpacker) # the actual packer function
^~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:501: error: Untyped decorator makes function "_unpack_changed" untyped [misc]
@observe("unpack")
^~~~~~~~~~~~~~~~~
jupyter_client/session.py:509: error: Call to untyped function "Int" in typed context [no-untyped-call]
copy_threshold = Integer(
^
jupyter_client/session.py:514: error: Call to untyped function "Int" in typed context [no-untyped-call]
buffer_threshold = Integer(
^
jupyter_client/session.py:520: error: Call to untyped function "Int" in typed context [no-untyped-call]
item_threshold = Integer(
^
jupyter_client/session.py: note: In member "__init__" of class "Session":
jupyter_client/session.py:568: error: Call to untyped function "__init__" in typed context [no-untyped-call]
super().__init__(**kwargs)
^~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/session.py:576: error: Call to untyped function "get_logger" in typed context [no-untyped-call]
get_logger().warning(
^~~~~~~~~~~~
jupyter_client/session.py: note: In member "send" of class "Session":
jupyter_client/session.py:831: error: Call to untyped function "get_logger" in typed context [no-untyped-call]
get_logger().warning("WARNING: attempted to send message from fork\n%s", msg)
^~~~~~~~~~~~
jupyter_client/connect.py: note: In class "ConnectionFileMixin":
jupyter_client/connect.py:320: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
data_dir: str | Unicode = Unicode()
^~~~~~~~~
jupyter_client/connect.py:326: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
connection_file = Unicode(
^
jupyter_client/connect.py:336: error: Call to untyped function "Bool" in typed context [no-untyped-call]
_connection_file_written = Bool(False)
^~~~~~~~~~~
jupyter_client/connect.py:338: error: Call to untyped function "CaselessStrEnum" in typed context [no-untyped-call]
transport = CaselessStrEnum(["tcp", "ipc"], default_value="tcp", config=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:339: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
kernel_name: str | Unicode = Unicode()
^~~~~~~~~
jupyter_client/connect.py:341: error: Call to untyped function "Instance" in typed context [no-untyped-call]
context = Instance(zmq.Context)
^~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:343: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
ip = Unicode(
^
jupyter_client/connect.py:360: error: Untyped decorator makes function "_ip_changed" untyped [misc]
@observe("ip")
^~~~~~~~~~~~~
jupyter_client/connect.py:367: error: Call to untyped function "Int" in typed context [no-untyped-call]
hb_port = Integer(0, config=True, help="set the heartbeat port [default: random]")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:368: error: Call to untyped function "Int" in typed context [no-untyped-call]
shell_port = Integer(0, config=True, help="set the shell (ROUTER) port [default: random]")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:369: error: Call to untyped function "Int" in typed context [no-untyped-call]
iopub_port = Integer(0, config=True, help="set the iopub (PUB) port [default: random]")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:370: error: Call to untyped function "Int" in typed context [no-untyped-call]
stdin_port = Integer(0, config=True, help="set the stdin (ROUTER) port [default: random]")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:371: error: Call to untyped function "Int" in typed context [no-untyped-call]
control_port = Integer(0, config=True, help="set the control (ROUTER) port [default: random]")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:381: error: Call to untyped function "Instance" in typed context [no-untyped-call]
session = Instance("jupyter_client.session.Session")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:431: error: Call to untyped function "Type" in typed context [no-untyped-call]
blocking_class = Type(klass=object, default_value="jupyter_client.BlockingKernelClient")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py: note: At top level:
jupyter_client/connect.py:436: error: Unused "type: ignore" comment [unused-ignore]
bc = self.blocking_class(parent=self) # type:ignore[operator]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py:550: error: Unused "type: ignore" comment [unused-ignore]
self.ip = info.get("ip", self._ip_default()) # type:ignore[assignment]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/connect.py: note: In member "__init__" of class "LocalPortCache":
jupyter_client/connect.py:697: error: Call to untyped function "__init__" in typed context [no-untyped-call]
super().__init__(**kwargs)
^~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/provisioner_base.py: note: In class "KernelProvisionerBase":
jupyter_client/provisioning/provisioner_base.py:32: error: Call to untyped function "Instance" in typed context [no-untyped-call]
kernel_spec: Any = Instance('jupyter_client.kernelspec.KernelSpec', allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/provisioner_base.py:33: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
kernel_id: Union[str, Unicode] = Unicode(None, allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/local_provisioner.py: note: In member "cleanup" of class "LocalProvisioner":
jupyter_client/provisioning/local_provisioner.py:144: error: Call to untyped function "instance" of "SingletonConfigurable" in typed context
[no-untyped-call]
lpc = LocalPortCache.instance()
^~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/local_provisioner.py: note: In member "pre_launch" of class "LocalProvisioner":
jupyter_client/provisioning/local_provisioner.py:184: error: Call to untyped function "instance" of "SingletonConfigurable" in typed context
[no-untyped-call]
lpc = LocalPortCache.instance()
^~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/factory.py:11: error: Unused "type: ignore" comment [unused-ignore]
from importlib_metadata import EntryPoint, entry_points # type:ignore[import-not-found]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/factory.py: note: In class "KernelProvisionerFactory":
jupyter_client/provisioning/factory.py:39: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
default_provisioner_name = Unicode(
^
jupyter_client/provisioning/factory.py:45: error: Untyped decorator makes function "_default_provisioner_name_default" untyped [misc]
@default('default_provisioner_name')
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/factory.py: note: In member "__init__" of class "KernelProvisionerFactory":
jupyter_client/provisioning/factory.py:52: error: Call to untyped function "__init__" in typed context [no-untyped-call]
super().__init__(**kwargs)
^~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/factory.py: note: In member "create_provisioner_instance" of class "KernelProvisionerFactory":
jupyter_client/provisioning/factory.py:99: error: Call to untyped function "load" in typed context [no-untyped-call]
provisioner_class = self.provisioners[provisioner_name].load()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/factory.py: note: In member "_get_all_provisioners" of class "KernelProvisionerFactory":
jupyter_client/provisioning/factory.py:169: error: Incompatible return value type (got "EntryPoints", expected "List[EntryPoint]")
[return-value]
return entry_points(group=KernelProvisionerFactory.GROUP_NAME)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/provisioning/factory.py: note: In member "_get_provisioner" of class "KernelProvisionerFactory":
jupyter_client/provisioning/factory.py:196: error: Call to untyped function "EntryPoint" in typed context [no-untyped-call]
return EntryPoint(
^
jupyter_client/kernelspec.py: note: In class "KernelSpec":
jupyter_client/kernelspec.py:27: error: Call to untyped function "List" in typed context [no-untyped-call]
argv = List()
^~~~~~
jupyter_client/kernelspec.py:28: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
name = Unicode()
^~~~~~~~~
jupyter_client/kernelspec.py:29: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
mimetype = Unicode()
^~~~~~~~~
jupyter_client/kernelspec.py:30: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
display_name = Unicode()
^~~~~~~~~
jupyter_client/kernelspec.py:31: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
language = Unicode()
^~~~~~~~~
jupyter_client/kernelspec.py:32: error: Call to untyped function "Dict" in typed context [no-untyped-call]
env = Dict()
^~~~~~
jupyter_client/kernelspec.py:33: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
resource_dir = Unicode()
^~~~~~~~~
jupyter_client/kernelspec.py:34: error: Call to untyped function "CaselessStrEnum" in typed context [no-untyped-call]
interrupt_mode = CaselessStrEnum(["message", "signal"], default_value="signal")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspec.py:35: error: Call to untyped function "Dict" in typed context [no-untyped-call]
metadata = Dict()
^~~~~~
jupyter_client/kernelspec.py: note: In class "KernelSpecManager":
jupyter_client/kernelspec.py:125: error: Call to untyped function "Type" in typed context [no-untyped-call]
kernel_spec_class = Type(
^
jupyter_client/kernelspec.py:133: error: Call to untyped function "Bool" in typed context [no-untyped-call]
ensure_native_kernel = Bool(
^
jupyter_client/kernelspec.py:141: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
data_dir = Unicode()
^~~~~~~~~
jupyter_client/kernelspec.py:146: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
user_kernel_dir = Unicode()
^~~~~~~~~
jupyter_client/kernelspec.py:151: error: Call to untyped function "Set" in typed context [no-untyped-call]
whitelist = Set(
^
jupyter_client/kernelspec.py:156: error: Call to untyped function "Set" in typed context [no-untyped-call]
allowed_kernelspecs = Set(
^
jupyter_client/kernelspec.py:163: error: Call to untyped function "List" in typed context [no-untyped-call]
kernel_dirs = List(
^
jupyter_client/kernelspec.py:173: error: Untyped decorator makes function "_deprecated_trait" untyped [misc]
@observe(*list(_deprecated_aliases))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspec.py: note: At top level:
jupyter_client/kernelspec.py:195: error: Cannot find implementation or library stub for module named "IPython.paths" [import-not-found]
from IPython.paths import get_ipython_dir
^
jupyter_client/kernelspec.py: note: In member "_get_kernel_spec_by_name" of class "KernelSpecManager":
jupyter_client/kernelspec.py:249: error: Call to untyped function "instance" of "SingletonConfigurable" in typed context [no-untyped-call]
if not KPF.instance(parent=self.parent).is_provisioner_available(kspec):
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspec.py: note: In function "find_kernel_specs":
jupyter_client/kernelspec.py:423: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
return KernelSpecManager().find_kernel_specs()
^~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspec.py: note: In function "get_kernel_spec":
jupyter_client/kernelspec.py:431: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
return KernelSpecManager().get_kernel_spec(kernel_name)
^~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspec.py: note: In function "install_kernel_spec":
jupyter_client/kernelspec.py:442: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
return KernelSpecManager().install_kernel_spec(source_dir, kernel_name, user, replace, prefix)
^~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspec.py: note: In function "install_native_kernel_spec":
jupyter_client/kernelspec.py:450: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
KernelSpecManager().install_native_kernel_spec(user=user)
^~~~~~~~~~~~~~~~~~~
jupyter_client/client.py: note: In class "KernelClient":
jupyter_client/client.py:91: error: Call to untyped function "Instance" in typed context [no-untyped-call]
context = Instance(zmq.Context)
^~~~~~~~~~~~~~~~~~~~~
jupyter_client/client.py:93: error: Call to untyped function "Bool" in typed context [no-untyped-call]
_created_context = Bool(False)
^~~~~~~~~~~
jupyter_client/client.py:100: error: Call to untyped function "Type" in typed context [no-untyped-call]
shell_channel_class = Type(ChannelABC)
^~~~~~~~~~~~~~~~
jupyter_client/client.py:101: error: Call to untyped function "Type" in typed context [no-untyped-call]
iopub_channel_class = Type(ChannelABC)
^~~~~~~~~~~~~~~~
jupyter_client/client.py:102: error: Call to untyped function "Type" in typed context [no-untyped-call]
stdin_channel_class = Type(ChannelABC)
^~~~~~~~~~~~~~~~
jupyter_client/client.py:103: error: Call to untyped function "Type" in typed context [no-untyped-call]
hb_channel_class = Type(HBChannelABC)
^~~~~~~~~~~~~~~~~~
jupyter_client/client.py:104: error: Call to untyped function "Type" in typed context [no-untyped-call]
control_channel_class = Type(ChannelABC)
^~~~~~~~~~~~~~~~
jupyter_client/client.py:107: error: Call to untyped function "Any" in typed context [no-untyped-call]
_shell_channel = Any()
^~~~~
jupyter_client/client.py:108: error: Call to untyped function "Any" in typed context [no-untyped-call]
_iopub_channel = Any()
^~~~~
jupyter_client/client.py:109: error: Call to untyped function "Any" in typed context [no-untyped-call]
_stdin_channel = Any()
^~~~~
jupyter_client/client.py:110: error: Call to untyped function "Any" in typed context [no-untyped-call]
_hb_channel = Any()
^~~~~
jupyter_client/client.py:111: error: Call to untyped function "Any" in typed context [no-untyped-call]
_control_channel = Any()
^~~~~
jupyter_client/client.py: note: At top level:
jupyter_client/client.py:120: error: Unused "type: ignore" comment [unused-ignore]
and self.context is not None # type:ignore[redundant-expr]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/client.py:356: error: Unused "type: ignore[abstract, call-arg]" comment [unused-ignore]
self._shell_channel = self.shell_channel_class( # type:ignore[call-arg,abstract]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/client.py:368: error: Unused "type: ignore[abstract, call-arg]" comment [unused-ignore]
self._iopub_channel = self.iopub_channel_class( # type:ignore[call-arg,abstract]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/client.py:380: error: Unused "type: ignore[abstract, call-arg]" comment [unused-ignore]
self._stdin_channel = self.stdin_channel_class( # type:ignore[call-arg,abstract]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/client.py:391: error: Unused "type: ignore[abstract, call-arg]" comment [unused-ignore]
self._hb_channel = self.hb_channel_class( # type:ignore[call-arg,abstract]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/client.py:403: error: Unused "type: ignore[abstract, call-arg]" comment [unused-ignore]
self._control_channel = self.control_channel_class( # type:ignore[call-arg,abstract]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/client.py:512: error: Cannot find implementation or library stub for module named "IPython" [import-not-found]
from IPython import get_ipython
^
jupyter_client/client.py:512: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
jupyter_client/client.py:514: error: Unused "type: ignore" comment [unused-ignore]
ip = get_ipython() # type:ignore[no-untyped-call]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py:51: error: Unused "type: ignore" comment [unused-ignore]
shell_channel_class = Type(ZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py: note: In class "BlockingKernelClient":
jupyter_client/blocking/client.py:51: error: Call to untyped function "Type" in typed context [no-untyped-call]
shell_channel_class = Type(ZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py:51: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/blocking/client.py: note: At top level:
jupyter_client/blocking/client.py:52: error: Unused "type: ignore" comment [unused-ignore]
iopub_channel_class = Type(ZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py: note: In class "BlockingKernelClient":
jupyter_client/blocking/client.py:52: error: Call to untyped function "Type" in typed context [no-untyped-call]
iopub_channel_class = Type(ZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py:52: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/blocking/client.py: note: At top level:
jupyter_client/blocking/client.py:53: error: Unused "type: ignore" comment [unused-ignore]
stdin_channel_class = Type(ZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py: note: In class "BlockingKernelClient":
jupyter_client/blocking/client.py:53: error: Call to untyped function "Type" in typed context [no-untyped-call]
stdin_channel_class = Type(ZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py:53: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/blocking/client.py: note: At top level:
jupyter_client/blocking/client.py:54: error: Unused "type: ignore" comment [unused-ignore]
hb_channel_class = Type(HBChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py: note: In class "BlockingKernelClient":
jupyter_client/blocking/client.py:54: error: Call to untyped function "Type" in typed context [no-untyped-call]
hb_channel_class = Type(HBChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~
jupyter_client/blocking/client.py:54: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/blocking/client.py: note: At top level:
jupyter_client/blocking/client.py:55: error: Unused "type: ignore" comment [unused-ignore]
control_channel_class = Type(ZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py: note: In class "BlockingKernelClient":
jupyter_client/blocking/client.py:55: error: Call to untyped function "Type" in typed context [no-untyped-call]
control_channel_class = Type(ZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~
jupyter_client/blocking/client.py:55: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/asynchronous/client.py: note: In class "AsyncKernelClient":
jupyter_client/asynchronous/client.py:36: error: Call to untyped function "Instance" in typed context [no-untyped-call]
context = Instance(zmq.asyncio.Context)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py: note: At top level:
jupyter_client/asynchronous/client.py:54: error: Unused "type: ignore" comment [unused-ignore]
shell_channel_class = Type(AsyncZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py: note: In class "AsyncKernelClient":
jupyter_client/asynchronous/client.py:54: error: Call to untyped function "Type" in typed context [no-untyped-call]
shell_channel_class = Type(AsyncZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py:54: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/asynchronous/client.py: note: At top level:
jupyter_client/asynchronous/client.py:55: error: Unused "type: ignore" comment [unused-ignore]
iopub_channel_class = Type(AsyncZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py: note: In class "AsyncKernelClient":
jupyter_client/asynchronous/client.py:55: error: Call to untyped function "Type" in typed context [no-untyped-call]
iopub_channel_class = Type(AsyncZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py:55: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/asynchronous/client.py: note: At top level:
jupyter_client/asynchronous/client.py:56: error: Unused "type: ignore" comment [unused-ignore]
stdin_channel_class = Type(AsyncZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py: note: In class "AsyncKernelClient":
jupyter_client/asynchronous/client.py:56: error: Call to untyped function "Type" in typed context [no-untyped-call]
stdin_channel_class = Type(AsyncZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py:56: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/asynchronous/client.py: note: At top level:
jupyter_client/asynchronous/client.py:57: error: Unused "type: ignore" comment [unused-ignore]
hb_channel_class = Type(HBChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py: note: In class "AsyncKernelClient":
jupyter_client/asynchronous/client.py:57: error: Call to untyped function "Type" in typed context [no-untyped-call]
hb_channel_class = Type(HBChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py:57: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/asynchronous/client.py: note: At top level:
jupyter_client/asynchronous/client.py:58: error: Unused "type: ignore" comment [unused-ignore]
control_channel_class = Type(AsyncZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py: note: In class "AsyncKernelClient":
jupyter_client/asynchronous/client.py:58: error: Call to untyped function "Type" in typed context [no-untyped-call]
control_channel_class = Type(AsyncZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/asynchronous/client.py:58: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/manager.py: note: In member "__init__" of class "KernelManager":
jupyter_client/manager.py:110: error: Call to untyped function "__init__" in typed context [no-untyped-call]
super().__init__(**kwargs)
^~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py: note: In class "KernelManager":
jupyter_client/manager.py:115: error: Call to untyped function "Bool" in typed context [no-untyped-call]
_created_context: Bool = Bool(False)
^~~~~~~~~~~
jupyter_client/manager.py:118: error: Call to untyped function "Instance" in typed context [no-untyped-call]
context: Instance = Instance(zmq.Context)
^~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:120: error: Untyped decorator makes function "_context_default" untyped [misc]
@default("context")
^~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:126: error: Call to untyped function "DottedObjectName" in typed context [no-untyped-call]
client_class: DottedObjectName = DottedObjectName(
^
jupyter_client/manager.py:129: error: Call to untyped function "Type" in typed context [no-untyped-call]
client_factory: Type = Type(klass=KernelClient)
^~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:131: error: Untyped decorator makes function "_client_factory_default" untyped [misc]
@default("client_factory")
^~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py: note: In member "_client_factory_default" of class "KernelManager":
jupyter_client/manager.py:133: error: Call to untyped function "import_item" in typed context [no-untyped-call]
return import_item(self.client_class)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py: note: In class "KernelManager":
jupyter_client/manager.py:135: error: Untyped decorator makes function "_client_class_changed" untyped [misc]
@observe("client_class")
^~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py: note: In member "_client_class_changed" of class "KernelManager":
jupyter_client/manager.py:137: error: Call to untyped function "import_item" in typed context [no-untyped-call]
self.client_factory = import_item(str(change["new"]))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py: note: In class "KernelManager":
jupyter_client/manager.py:139: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
kernel_id: t.Union[str, Unicode] = Unicode(None, allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:146: error: Call to untyped function "Instance" in typed context [no-untyped-call]
kernel_spec_manager: Instance = Instance(kernelspec.KernelSpecManager)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:148: error: Untyped decorator makes function "_kernel_spec_manager_default" untyped [misc]
@default("kernel_spec_manager")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py: note: In member "_kernel_spec_manager_default" of class "KernelManager":
jupyter_client/manager.py:150: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
return kernelspec.KernelSpecManager(data_dir=self.data_dir)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py: note: In class "KernelManager":
jupyter_client/manager.py:152: error: Untyped decorator makes function "_kernel_spec_manager_changed" untyped [misc]
@observe("kernel_spec_manager")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:153: error: Untyped decorator makes function "_kernel_spec_manager_changed" untyped [misc]
@observe_compat
^~~~~~~~~~~~~~
jupyter_client/manager.py:157: error: Call to untyped function "Float" in typed context [no-untyped-call]
shutdown_wait_time: Float = Float(
^
jupyter_client/manager.py:171: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
kernel_name: t.Union[str, Unicode] = Unicode(kernelspec.NATIVE_KERNEL_NAME)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:173: error: Untyped decorator makes function "_kernel_name_changed" untyped [misc]
@observe("kernel_name")
^~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:187: error: Call to untyped function "Bool" in typed context [no-untyped-call]
cache_ports: Bool = Bool(
^
jupyter_client/manager.py:193: error: Untyped decorator makes function "_default_cache_ports" untyped [misc]
@default("cache_ports")
^~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:209: error: Call to untyped function "Any" in typed context [no-untyped-call]
_launch_args: Any = Any()
^~~~~
jupyter_client/manager.py:210: error: Call to untyped function "Any" in typed context [no-untyped-call]
_control_socket: Any = Any()
^~~~~
jupyter_client/manager.py:212: error: Call to untyped function "Any" in typed context [no-untyped-call]
_restarter: Any = Any()
^~~~~
jupyter_client/manager.py:214: error: Call to untyped function "Bool" in typed context [no-untyped-call]
autorestart: Bool = Bool(
^
jupyter_client/manager.py: note: In member "_async_pre_start_kernel" of class "KernelManager":
jupyter_client/manager.py:376: error: Call to untyped function "instance" of "SingletonConfigurable" in typed context [no-untyped-call]
self.provisioner = KPF.instance(parent=self.parent).create_provisioner_instance(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py: note: In class "AsyncKernelManager":
jupyter_client/manager.py:698: error: Call to untyped function "DottedObjectName" in typed context [no-untyped-call]
client_class: DottedObjectName = DottedObjectName(
^
jupyter_client/manager.py:701: error: Call to untyped function "Type" in typed context [no-untyped-call]
client_factory: Type = Type(klass="jupyter_client.asynchronous.AsyncKernelClient")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:704: error: Call to untyped function "Instance" in typed context [no-untyped-call]
context: Instance = Instance(zmq.asyncio.Context)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/manager.py:706: error: Untyped decorator makes function "_context_default" untyped [misc]
@default("context")
^~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py: note: In class "MultiKernelManager":
jupyter_client/multikernelmanager.py:54: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
default_kernel_name = Unicode(
^
jupyter_client/multikernelmanager.py:54: error: Call to untyped function "tag" in typed context [no-untyped-call]
default_kernel_name = Unicode(
^
jupyter_client/multikernelmanager.py:58: error: Call to untyped function "Instance" in typed context [no-untyped-call]
kernel_spec_manager = Instance(KernelSpecManager, allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py:60: error: Call to untyped function "DottedObjectName" in typed context [no-untyped-call]
kernel_manager_class = DottedObjectName(
^
jupyter_client/multikernelmanager.py:60: error: Call to untyped function "tag" in typed context [no-untyped-call]
kernel_manager_class = DottedObjectName(
^
jupyter_client/multikernelmanager.py:67: error: Untyped decorator makes function "_kernel_manager_class_changed" untyped [misc]
@observe("kernel_manager_class")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py:71: error: Call to untyped function "Any" in typed context [no-untyped-call]
kernel_manager_factory = Any(help="this is kernel_manager_class after import")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py:73: error: Untyped decorator makes function "_kernel_manager_factory_default" untyped [misc]
@default("kernel_manager_factory")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py: note: In member "_create_kernel_manager_factory" of class "MultiKernelManager":
jupyter_client/multikernelmanager.py:78: error: Call to untyped function "import_item" in typed context [no-untyped-call]
kernel_manager_ctor = import_item(self.kernel_manager_class)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py: note: In class "MultiKernelManager":
jupyter_client/multikernelmanager.py:91: error: Call to untyped function "Bool" in typed context [no-untyped-call]
shared_context = Bool(
^
jupyter_client/multikernelmanager.py:91: error: Call to untyped function "tag" in typed context [no-untyped-call]
shared_context = Bool(
^
jupyter_client/multikernelmanager.py:96: error: Call to untyped function "Instance" in typed context [no-untyped-call]
context = Instance("zmq.Context")
^~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py:98: error: Call to untyped function "Bool" in typed context [no-untyped-call]
_created_context = Bool(False)
^~~~~~~~~~~
jupyter_client/multikernelmanager.py:100: error: Call to untyped function "Dict" in typed context [no-untyped-call]
_pending_kernels = Dict()
^~~~~~
jupyter_client/multikernelmanager.py:107: error: Untyped decorator makes function "_context_default" untyped [misc]
@default("context")
^~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py:112: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
connection_dir = Unicode("")
^~~~~~~~~~~
jupyter_client/multikernelmanager.py:113: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
external_connection_dir = Unicode(None, allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py:115: error: Call to untyped function "Dict" in typed context [no-untyped-call]
_kernels = Dict()
^~~~~~
jupyter_client/multikernelmanager.py: note: In member "__init__" of class "MultiKernelManager":
jupyter_client/multikernelmanager.py:118: error: Call to untyped function "__init__" in typed context [no-untyped-call]
super().__init__(*args, **kwargs)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py: note: In class "AsyncMultiKernelManager":
jupyter_client/multikernelmanager.py:600: error: Call to untyped function "DottedObjectName" in typed context [no-untyped-call]
kernel_manager_class = DottedObjectName(
^
jupyter_client/multikernelmanager.py:608: error: Call to untyped function "Bool" in typed context [no-untyped-call]
use_pending_kernels = Bool(
^
jupyter_client/multikernelmanager.py:608: error: Call to untyped function "tag" in typed context [no-untyped-call]
use_pending_kernels = Bool(
^
jupyter_client/multikernelmanager.py:614: error: Call to untyped function "Instance" in typed context [no-untyped-call]
context = Instance("zmq.asyncio.Context")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/multikernelmanager.py:616: error: Untyped decorator makes function "_context_default" untyped [misc]
@default("context")
^~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py: note: In member "close" of class "ThreadedZMQSocketChannel":
jupyter_client/threaded.py:110: error: Call to untyped function "get_logger" in typed context [no-untyped-call]
log = get_logger()
^~~~~~~~~~~~
jupyter_client/threaded.py: note: In class "ThreadedKernelClient":
jupyter_client/threaded.py:306: error: Call to untyped function "Instance" in typed context [no-untyped-call]
ioloop_thread = Instance(IOLoopThread, allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py: note: At top level:
jupyter_client/threaded.py:337: error: Unused "type: ignore" comment [unused-ignore]
iopub_channel_class = Type(ThreadedZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py: note: In class "ThreadedKernelClient":
jupyter_client/threaded.py:337: error: Call to untyped function "Type" in typed context [no-untyped-call]
iopub_channel_class = Type(ThreadedZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py:337: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/threaded.py: note: At top level:
jupyter_client/threaded.py:338: error: Unused "type: ignore" comment [unused-ignore]
shell_channel_class = Type(ThreadedZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py: note: In class "ThreadedKernelClient":
jupyter_client/threaded.py:338: error: Call to untyped function "Type" in typed context [no-untyped-call]
shell_channel_class = Type(ThreadedZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py:338: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/threaded.py: note: At top level:
jupyter_client/threaded.py:339: error: Unused "type: ignore" comment [unused-ignore]
stdin_channel_class = Type(ThreadedZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py: note: In class "ThreadedKernelClient":
jupyter_client/threaded.py:339: error: Call to untyped function "Type" in typed context [no-untyped-call]
stdin_channel_class = Type(ThreadedZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py:339: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/threaded.py: note: At top level:
jupyter_client/threaded.py:340: error: Unused "type: ignore" comment [unused-ignore]
hb_channel_class = Type(HBChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py: note: In class "ThreadedKernelClient":
jupyter_client/threaded.py:340: error: Call to untyped function "Type" in typed context [no-untyped-call]
hb_channel_class = Type(HBChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~
jupyter_client/threaded.py:340: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/threaded.py: note: At top level:
jupyter_client/threaded.py:341: error: Unused "type: ignore" comment [unused-ignore]
control_channel_class = Type(ThreadedZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py: note: In class "ThreadedKernelClient":
jupyter_client/threaded.py:341: error: Call to untyped function "Type" in typed context [no-untyped-call]
control_channel_class = Type(ThreadedZMQSocketChannel) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/threaded.py:341: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/kernelapp.py: note: In class "KernelApp":
jupyter_client/kernelapp.py:30: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
kernel_name = Unicode(NATIVE_KERNEL_NAME, help="The name of a kernel type to start").tag(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelapp.py:30: error: Call to untyped function "tag" in typed context [no-untyped-call]
kernel_name = Unicode(NATIVE_KERNEL_NAME, help="The name of a kernel type to start").tag(
^
jupyter_client/consoleapp.py:48: error: Call to untyped function "boolean_flag" in typed context [no-untyped-call]
boolean_flag(
^
jupyter_client/consoleapp.py: note: In class "JupyterConsoleApp":
jupyter_client/consoleapp.py:117: error: Call to untyped function "Dict" in typed context [no-untyped-call]
flags = Dict(flags)
^~~~~~~~~~~
jupyter_client/consoleapp.py:118: error: Call to untyped function "Dict" in typed context [no-untyped-call]
aliases = Dict(aliases)
^~~~~~~~~~~~~
jupyter_client/consoleapp.py:119: error: Call to untyped function "Type" in typed context [no-untyped-call]
kernel_manager_class = Type(
^
jupyter_client/consoleapp.py:126: error: Call to untyped function "List" in typed context [no-untyped-call]
kernel_argv = List(Unicode())
^~~~~~~~~~~~~~~
jupyter_client/consoleapp.py:126: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
kernel_argv = List(Unicode())
^~~~~~~~~
jupyter_client/consoleapp.py:130: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
sshserver = Unicode("", config=True, help="""The SSH server to use to connect to the kernel.""")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/consoleapp.py:131: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
sshkey = Unicode(
^
jupyter_client/consoleapp.py:140: error: Call to untyped function "CUnicode" in typed context [no-untyped-call]
existing = CUnicode("", config=True, help="""Connect to an already running kernel""")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/consoleapp.py:142: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
kernel_name = Unicode(
^
jupyter_client/consoleapp.py:146: error: Call to untyped function "CBool" in typed context [no-untyped-call]
confirm_exit = CBool(
^
jupyter_client/consoleapp.py: note: In member "init_kernel_client" of class "JupyterConsoleApp":
jupyter_client/consoleapp.py:342: error: Call to untyped function (unknown) in typed context [no-untyped-call]
self.kernel_client = self.kernel_client_class(
^
jupyter_client/consoleapp.py: note: In member "__init__" of class "IPythonConsoleApp":
jupyter_client/consoleapp.py:376: error: Call to untyped function "__init__" in typed context [no-untyped-call]
super().__init__(*args, **kwargs)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/ioloop/manager.py: note: In class "IOLoopKernelManager":
jupyter_client/ioloop/manager.py:38: error: Call to untyped function "Instance" in typed context [no-untyped-call]
loop = Instance("tornado.ioloop.IOLoop")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/ioloop/manager.py:43: error: Call to untyped function "Type" in typed context [no-untyped-call]
restarter_class = Type(
^
jupyter_client/ioloop/manager.py:53: error: Call to untyped function "Instance" in typed context [no-untyped-call]
_restarter: t.Any = Instance("jupyter_client.ioloop.IOLoopKernelRestarter", allow_none=True)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/ioloop/manager.py: note: At top level:
jupyter_client/ioloop/manager.py:59: error: Unused "type: ignore" comment [unused-ignore]
self._restarter = self.restarter_class( # type:ignore[operator]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/ioloop/manager.py: note: In class "AsyncIOLoopKernelManager":
jupyter_client/ioloop/manager.py:79: error: Call to untyped function "Instance" in typed context [no-untyped-call]
loop = Instance("tornado.ioloop.IOLoop")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/ioloop/manager.py:84: error: Call to untyped function "Type" in typed context [no-untyped-call]
restarter_class = Type(
^
jupyter_client/ioloop/manager.py:94: error: Call to untyped function "Instance" in typed context [no-untyped-call]
_restarter: t.Any = Instance(
^
jupyter_client/ioloop/manager.py: note: At top level:
jupyter_client/ioloop/manager.py:102: error: Unused "type: ignore" comment [unused-ignore]
self._restarter = self.restarter_class( # type:ignore[operator]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/runapp.py: note: In class "RunApp":
jupyter_client/runapp.py:47: error: Call to untyped function "Dict" in typed context [no-untyped-call]
flags = Dict(flags) # type:ignore[assignment]
^~~~~~~~~~~
jupyter_client/runapp.py:47: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/runapp.py:48: error: Call to untyped function "Dict" in typed context [no-untyped-call]
aliases = Dict(aliases) # type:ignore[assignment]
^~~~~~~~~~~~~
jupyter_client/runapp.py:48: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/runapp.py:49: error: Call to untyped function "Any" in typed context [no-untyped-call]
frontend_aliases = Any(frontend_aliases)
^~~~~~~~~~~~~~~~~~~~~
jupyter_client/runapp.py:50: error: Call to untyped function "Any" in typed context [no-untyped-call]
frontend_flags = Any(frontend_flags)
^~~~~~~~~~~~~~~~~~~
jupyter_client/runapp.py:51: error: Call to untyped function "Float" in typed context [no-untyped-call]
kernel_timeout = Float(
^
jupyter_client/runapp.py: note: In member "parse_command_line" of class "RunApp":
jupyter_client/runapp.py:65: error: Call to untyped function "parse_command_line" of "Application" in typed context [no-untyped-call]
super().parse_command_line(argv)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In class "ListKernelSpecs":
jupyter_client/kernelspecapp.py:26: error: Call to untyped function "Instance" in typed context [no-untyped-call]
kernel_spec_manager = Instance(KernelSpecManager)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:27: error: Call to untyped function "Bool" in typed context [no-untyped-call]
json_output = Bool(
^
jupyter_client/kernelspecapp.py: note: In member "_kernel_spec_manager_default" of class "ListKernelSpecs":
jupyter_client/kernelspecapp.py:42: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
return KernelSpecManager(parent=self, data_dir=self.data_dir)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In class "InstallKernelSpec":
jupyter_client/kernelspecapp.py:87: error: Call to untyped function "Instance" in typed context [no-untyped-call]
kernel_spec_manager = Instance(KernelSpecManager)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In member "_kernel_spec_manager_default" of class "InstallKernelSpec":
jupyter_client/kernelspecapp.py:90: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
return KernelSpecManager(data_dir=self.data_dir)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In class "InstallKernelSpec":
jupyter_client/kernelspecapp.py:92: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
sourcedir = Unicode()
^~~~~~~~~
jupyter_client/kernelspecapp.py:93: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
kernel_name = Unicode("", config=True, help="Install the kernel spec with this name")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:98: error: Call to untyped function "Bool" in typed context [no-untyped-call]
user = Bool(
^
jupyter_client/kernelspecapp.py:106: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
prefix = Unicode(
^
jupyter_client/kernelspecapp.py:113: error: Call to untyped function "Bool" in typed context [no-untyped-call]
replace = Bool(False, config=True, help="Replace any existing kernel spec with this name.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:119: error: Argument 1 to "update" of "MutableMapping" has incompatible type "Dict[str, Any]"; expected
"SupportsKeysAndGetItem[Union[str, Tuple[str, ...]], Union[str, Tuple[str, str]]]" [arg-type]
aliases.update(base_aliases)
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In member "parse_command_line" of class "InstallKernelSpec":
jupyter_client/kernelspecapp.py:139: error: Call to untyped function "parse_command_line" of "Application" in typed context [no-untyped-call]
super().parse_command_line(argv)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:145: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit(1)
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In member "start" of class "InstallKernelSpec":
jupyter_client/kernelspecapp.py:150: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit("Can't specify both user and prefix. Please choose one or the other.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:164: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit(1)
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py:167: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit(1)
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In class "RemoveKernelSpec":
jupyter_client/kernelspecapp.py:178: error: Call to untyped function "Bool" in typed context [no-untyped-call]
force = Bool(False, config=True, help="""Force removal, don't prompt for confirmation.""")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:179: error: Call to untyped function "List" in typed context [no-untyped-call]
spec_names = List(Unicode())
^~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:179: error: Call to untyped function "Unicode" in typed context [no-untyped-call]
spec_names = List(Unicode())
^~~~~~~~~
jupyter_client/kernelspecapp.py:181: error: Call to untyped function "Instance" in typed context [no-untyped-call]
kernel_spec_manager = Instance(KernelSpecManager)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In member "_kernel_spec_manager_default" of class "RemoveKernelSpec":
jupyter_client/kernelspecapp.py:184: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
return KernelSpecManager(data_dir=self.data_dir, parent=self)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In class "RemoveKernelSpec":
jupyter_client/kernelspecapp.py:189: error: Cannot determine type of "flags" [has-type]
flags.update(JupyterApp.flags)
^~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In member "parse_command_line" of class "RemoveKernelSpec":
jupyter_client/kernelspecapp.py:193: error: Call to untyped function "parse_command_line" of "Application" in typed context [no-untyped-call]
super().parse_command_line(argv)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:198: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit("No kernelspec specified.")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In member "start" of class "RemoveKernelSpec":
jupyter_client/kernelspecapp.py:206: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit("Couldn't find kernel spec(s): %s" % ", ".join(missing))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:224: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit(1)
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In class "InstallNativeKernelSpec":
jupyter_client/kernelspecapp.py:235: error: Call to untyped function "Instance" in typed context [no-untyped-call]
kernel_spec_manager = Instance(KernelSpecManager)
^~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In member "_kernel_spec_manager_default" of class "InstallNativeKernelSpec":
jupyter_client/kernelspecapp.py:238: error: Call to untyped function "KernelSpecManager" in typed context [no-untyped-call]
return KernelSpecManager(data_dir=self.data_dir)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In class "InstallNativeKernelSpec":
jupyter_client/kernelspecapp.py:240: error: Call to untyped function "Bool" in typed context [no-untyped-call]
user = Bool(
^
jupyter_client/kernelspecapp.py: note: In member "start" of class "InstallNativeKernelSpec":
jupyter_client/kernelspecapp.py:267: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit(1)
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py:280: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit(1)
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: At top level:
jupyter_client/kernelspecapp.py:281: error: Unused "type: ignore" comment [unused-ignore]
self.exit(e) # type:ignore[arg-type]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In member "start" of class "InstallNativeKernelSpec":
jupyter_client/kernelspecapp.py:281: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit(e) # type:ignore[arg-type]
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py:281: note: Error code "no-untyped-call" not covered by "type: ignore" comment
jupyter_client/kernelspecapp.py: note: In member "start" of class "ListProvisioners":
jupyter_client/kernelspecapp.py:292: error: Call to untyped function "instance" of "SingletonConfigurable" in typed context [no-untyped-call]
kfp = KernelProvisionerFactory.instance(parent=self)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: In class "KernelSpecApp":
jupyter_client/kernelspecapp.py:310: error: Call to untyped function "Dict" in typed context [no-untyped-call]
subcommands = Dict(
^
jupyter_client/kernelspecapp.py: note: In member "start" of class "KernelSpecApp":
jupyter_client/kernelspecapp.py:335: error: Call to untyped function "print_description" in typed context [no-untyped-call]
self.print_description()
^~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:336: error: Call to untyped function "print_subcommands" in typed context [no-untyped-call]
self.print_subcommands()
^~~~~~~~~~~~~~~~~~~~~~~~
jupyter_client/kernelspecapp.py:337: error: Call to untyped function "exit" in typed context [no-untyped-call]
self.exit(1)
^~~~~~~~~~~~
jupyter_client/kernelspecapp.py: note: At top level:
jupyter_client/kernelspecapp.py:343: error: Call to untyped function "launch_instance" of "Application" in typed context [no-untyped-call]
KernelSpecApp.launch_instance()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment