Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 2.44 KB

WorkspaceSpec.md

File metadata and controls

54 lines (45 loc) · 2.44 KB

WorkspaceSpec

Properties

Name Type Description Notes
name str
owner OwnerReference [optional]
description str [optional]
tags Dict[str, str] [optional]
image ImageTagReference
instance_type str
environment_variables Dict[str, str] [optional]
working_directory str [optional]
extra_packages ExtraPackagesRecipe [optional]
config_files Dict[str, ConfigFileEntry] [optional]
start_script str [optional]
token_scope str [optional]
dask_cluster DaskClusterAttachment [optional]
git_repositories List[ExternalRepoAttachmentRecipe] [optional]
secrets List[SecretAttachmentRecipe] [optional]
shared_folders List[SharedFolderAttachmentRecipe] [optional]
start_dind bool [optional]
status str [optional]
ide str [optional] [default to 'jupyter']
disk_space str [optional]
auto_shutoff str [optional] [default to '1 hour']
start_ssh bool [optional] [default to False]
use_spot_instance bool [optional] [default to False]
routes List[WorkspaceRouteRecipe] [optional]
viewers List[ViewerRecipe] [optional]
self_destruct bool [optional] [default to False]

Example

from saturn_api.models.workspace_spec import WorkspaceSpec

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

# convert the object into a dict
workspace_spec_dict = workspace_spec_instance.to_dict()
# create an instance of WorkspaceSpec from a dict
workspace_spec_from_dict = WorkspaceSpec.from_dict(workspace_spec_dict)

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