Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 2.13 KB

File metadata and controls

52 lines (43 loc) · 2.13 KB

JobSpec

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]
command str
scale int [optional] [default to 1]
use_spot_instance bool [optional] [default to False]
schedule str [optional]
concurrency_policy str [optional]
retries int [optional]

Example

from saturn_api.models.job_spec import JobSpec

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

# convert the object into a dict
job_spec_dict = job_spec_instance.to_dict()
# create an instance of JobSpec from a dict
job_spec_from_dict = JobSpec.from_dict(job_spec_dict)

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