Skip to main content

coding.jupyter.base

JupyterConnectionInfo

@dataclass
class JupyterConnectionInfo()

(实验性)

host

str - Jupyter 网关服务器的主机地址

use_https

bool - 是否使用 HTTPS

port

Optional[int] - Jupyter 网关服务器的端口。如果为 None,则使用默认端口

token

Optional[str] - 用于身份验证的令牌。如果为 None,则不使用令牌

JupyterConnectable

@runtime_checkable
class JupyterConnectable(Protocol)

(实验性)

connection_info

@property
def connection_info() -> JupyterConnectionInfo

返回此可连接对象的连接信息。