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] | NoneSelected GPU, or None.
attributeapp_configdict[str, Any]Resolved app dictionary with merged docker_overrides.
attributehost_mount_pathstr | NoneServer-side path mounted as the session home.
attributeshared_files_pathstr | NoneServer-side path mounted at Desktop/files.
attributelaunch_contextdict[str, Any] | None= NoneWhat 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()) -> Noneparamenvdict[str, str]paramvolumesdict[str, dict[str, str]]paramgpu_configdict[str, Any] | Noneparamapp_configdict[str, Any]paramhost_mount_pathstr | Noneparamshared_files_pathstr | Noneparamlaunch_contextdict[str, Any] | None= Noneparamcollaborationdict[str, Any]= dict()Returns
Nonefuncprovider_kwargs(session_id) -> dict[str, Any]Return the keyword arguments for provider.launch.
paramsession_idstrReturns
dict[str, typing.Any]