SealSkin
Server Referencelaunch

LaunchSpec

Everything needed to call provider.launch.

Attributes

attributeenvdict[str, str]

Container environment.

attributevolumesdict[str, dict[str, str]]

Docker volume mapping (host path -> bind spec).

attributegpu_configdict[str, Any] | None

Selected GPU, or None.

attributeapp_configdict[str, Any]

Resolved app dictionary with merged docker_overrides.

attributehost_mount_pathstr | None

Server-side path mounted as the session home.

attributeshared_files_pathstr | None

Server-side path mounted at Desktop/files.

attributelaunch_contextdict[str, Any] | None
= None

What the session was opened with (URL or file).

attributecollaborationdict[str, Any]
= field(default_factory=dict)

Extra provider kwargs for collaboration sessions.

Functions

constructor__init__(env, volumes, gpu_config, app_config, host_mount_path, shared_files_path, launch_context=None, collaboration=dict()) -> None
paramenvdict[str, str]
paramvolumesdict[str, dict[str, str]]
paramgpu_configdict[str, Any] | None
paramapp_configdict[str, Any]
paramhost_mount_pathstr | None
paramshared_files_pathstr | None
paramlaunch_contextdict[str, Any] | None
= None
paramcollaborationdict[str, Any]
= dict()

Returns

None
funcprovider_kwargs(session_id) -> dict[str, Any]

Return the keyword arguments for provider.launch.

paramsession_idstr

Returns

dict[str, typing.Any]

On this page