Skip to content

Latest commit

 

History

History
60 lines (51 loc) · 3.37 KB

File metadata and controls

60 lines (51 loc) · 3.37 KB

Workspace

Properties

Name Type Description Notes
id str ID of the workspace [readonly]
name str Name of the workspace. [readonly]
owner Owner Owner of the workspace. [readonly]
description str Description of the workspace. [readonly]
tags Dict[str, str] Descriptive tags for the workspace. [optional]
image_tag ImageTag Image tag that is attached to the workspace. [readonly]
extra_packages ExtraPackages Addtitional packages to install on start. [readonly]
config_files Dict[str, Dict[str, str]] User-defined config files written to $HOME at pod startup. [optional] [readonly]
ide str IDE of the workspace [readonly]
start_script str Shell script that runs on start before the primary command. [readonly]
environment_variables Dict[str, str] Mapping of environment variable keys to values. [readonly]
working_dir str Initial working directory. [readonly]
disk_space str Size of the persistent volume attached to the workspace. [readonly]
instance_size str Instance size of the workspace. [readonly]
auto_shutoff str Duration of inactivity before workspace is automatically stopped. [readonly]
start_ssh bool Enable SSH access on the workspace. [readonly]
is_spot bool Enables running on spot instance sizes. [readonly]
subdomain str Subdomain for the workspace URL. [readonly]
start_dind bool Enables docker-in-docker. [readonly]
resource_type str Resource type of the workspace. [readonly]
size_display str Description of the instance size. [readonly]
k8s_name str Unique name for associated kubernetes objects. [readonly]
require_restart bool True if an update was applied that requires restart to take effect [readonly]
created_at str Creation timestamp. [readonly]
updated_at str Updated timestamp. [readonly]
started_at str Last started timestamp. [readonly]
self_destruct bool Auto delete the workspace on stop. [optional] [readonly]
dask_cluster DaskClusterNested Dask cluster attached to the workspace. [optional] [readonly]
status str Current status of the workspace. [readonly]
debug_mode bool True if workspace is running in debug mode. [readonly]
url str External URL for the workspace. [readonly]
ssh_url str External SSH URL for the workspace. [readonly]

Example

from saturn_api.models.workspace import Workspace

# TODO update the JSON string below
json = "{}"
# create an instance of Workspace from a JSON string
workspace_instance = Workspace.from_json(json)
# print the JSON string representation of the object
print(Workspace.to_json())

# convert the object into a dict
workspace_dict = workspace_instance.to_dict()
# create an instance of Workspace from a dict
workspace_from_dict = Workspace.from_dict(workspace_dict)

[Back to Model list] [Back to API list] [Back to README]