Skip to content

Commit 1964758

Browse files
committed
ensure kernel_name is defined on ConnectionFileMixin
since it is used when passing to write_connection_file
1 parent d6e6bc9 commit 1964758

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jupyter_client/connect.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ def _data_dir_default(self):
299299
_connection_file_written = Bool(False)
300300

301301
transport = CaselessStrEnum(['tcp', 'ipc'], default_value='tcp', config=True)
302+
kernel_name = Unicode()
302303

303304
ip = Unicode(config=True,
304305
help="""Set the kernel\'s IP address [default localhost].

0 commit comments

Comments
 (0)