ads.jobs.builders package¶
Subpackages¶
- ads.jobs.builders.infrastructure package
- Submodules
- ads.jobs.builders.infrastructure.base module
- ads.jobs.builders.infrastructure.dataflow module
DataFlow
DataFlow.CONST_BUCKET_URI
DataFlow.CONST_COMPARTMENT_ID
DataFlow.CONST_CONFIG
DataFlow.CONST_DEFINED_TAGS
DataFlow.CONST_DRIVER_SHAPE
DataFlow.CONST_DRIVER_SHAPE_CONFIG
DataFlow.CONST_EXECUTE
DataFlow.CONST_EXECUTOR_SHAPE
DataFlow.CONST_EXECUTOR_SHAPE_CONFIG
DataFlow.CONST_FREEFORM_TAGS
DataFlow.CONST_ID
DataFlow.CONST_LANGUAGE
DataFlow.CONST_MEMORY_IN_GBS
DataFlow.CONST_METASTORE_ID
DataFlow.CONST_NUM_EXECUTORS
DataFlow.CONST_OCPUS
DataFlow.CONST_POOL_ID
DataFlow.CONST_PRIVATE_ENDPOINT_ID
DataFlow.CONST_SPARK_VERSION
DataFlow.CONST_WAREHOUSE_BUCKET_URI
DataFlow.attribute_map
DataFlow.create()
DataFlow.delete()
DataFlow.from_dict()
DataFlow.from_id()
DataFlow.init()
DataFlow.job_id
DataFlow.list_jobs()
DataFlow.name
DataFlow.run()
DataFlow.run_list()
DataFlow.to_dict()
DataFlow.to_yaml()
DataFlow.with_compartment_id()
DataFlow.with_configuration()
DataFlow.with_defined_tag()
DataFlow.with_driver_shape()
DataFlow.with_driver_shape_config()
DataFlow.with_execute()
DataFlow.with_executor_shape()
DataFlow.with_executor_shape_config()
DataFlow.with_freeform_tag()
DataFlow.with_id()
DataFlow.with_language()
DataFlow.with_logs_bucket_uri()
DataFlow.with_metastore_id()
DataFlow.with_num_executors()
DataFlow.with_pool_id()
DataFlow.with_private_endpoint_id()
DataFlow.with_spark_version()
DataFlow.with_warehouse_bucket_uri()
DataFlowApp
DataFlowLogs
DataFlowRun
conda_pack_name_to_dataflow_config()
- ads.jobs.builders.infrastructure.dsc_job module
DSCJob
DSCJobRun
DataScienceJob
DataScienceJob.CONST_BLOCK_STORAGE
DataScienceJob.CONST_COMPARTMENT_ID
DataScienceJob.CONST_DEFINED_TAGS
DataScienceJob.CONST_DISPLAY_NAME
DataScienceJob.CONST_FREEFORM_TAGS
DataScienceJob.CONST_JOB_INFRA
DataScienceJob.CONST_JOB_TYPE
DataScienceJob.CONST_LOG_GROUP_ID
DataScienceJob.CONST_LOG_ID
DataScienceJob.CONST_MEMORY_IN_GBS
DataScienceJob.CONST_OCPUS
DataScienceJob.CONST_PROJECT_ID
DataScienceJob.CONST_SHAPE_CONFIG_DETAILS
DataScienceJob.CONST_SHAPE_NAME
DataScienceJob.CONST_STORAGE_MOUNT
DataScienceJob.CONST_SUBNET_ID
DataScienceJob.attribute_map
DataScienceJob.auth
DataScienceJob.block_storage_size
DataScienceJob.build()
DataScienceJob.compartment_id
DataScienceJob.create()
DataScienceJob.defined_tags
DataScienceJob.delete()
DataScienceJob.fast_launch_shapes()
DataScienceJob.freeform_tags
DataScienceJob.from_dict()
DataScienceJob.from_dsc_job()
DataScienceJob.from_id()
DataScienceJob.init()
DataScienceJob.instance_shapes()
DataScienceJob.job_id
DataScienceJob.job_infrastructure_type
DataScienceJob.job_type
DataScienceJob.list_jobs()
DataScienceJob.log_group_id
DataScienceJob.log_id
DataScienceJob.name
DataScienceJob.payload_attribute_map
DataScienceJob.project_id
DataScienceJob.run()
DataScienceJob.run_list()
DataScienceJob.shape_config_details
DataScienceJob.shape_config_details_attribute_map
DataScienceJob.shape_name
DataScienceJob.snake_to_camel_map
DataScienceJob.standardize_spec()
DataScienceJob.status
DataScienceJob.storage_mount
DataScienceJob.storage_mount_type_dict
DataScienceJob.subnet_id
DataScienceJob.with_block_storage_size()
DataScienceJob.with_compartment_id()
DataScienceJob.with_defined_tag()
DataScienceJob.with_freeform_tag()
DataScienceJob.with_job_infrastructure_type()
DataScienceJob.with_job_type()
DataScienceJob.with_log_group_id()
DataScienceJob.with_log_id()
DataScienceJob.with_project_id()
DataScienceJob.with_shape_config_details()
DataScienceJob.with_shape_name()
DataScienceJob.with_storage_mount()
DataScienceJob.with_subnet_id()
DataScienceJobRun
DataScienceJobRun.TERMINAL_STATES
DataScienceJobRun.cancel()
DataScienceJobRun.create()
DataScienceJobRun.delete()
DataScienceJobRun.download()
DataScienceJobRun.exit_code
DataScienceJobRun.job
DataScienceJobRun.log_group_id
DataScienceJobRun.log_id
DataScienceJobRun.logging
DataScienceJobRun.logs()
DataScienceJobRun.status
DataScienceJobRun.to_yaml()
DataScienceJobRun.wait()
DataScienceJobRun.watch()
- ads.jobs.builders.infrastructure.dsc_job_runtime module
CondaRuntimeHandler
ContainerRuntimeHandler
DataScienceJobRuntimeManager
GitPythonRuntimeHandler
GitPythonRuntimeHandler.CONST_ENTRYPOINT
GitPythonRuntimeHandler.CONST_ENTRY_FUNCTION
GitPythonRuntimeHandler.CONST_GIT_BRANCH
GitPythonRuntimeHandler.CONST_GIT_CODE_DIR
GitPythonRuntimeHandler.CONST_GIT_COMMIT
GitPythonRuntimeHandler.CONST_GIT_SSH_SECRET_ID
GitPythonRuntimeHandler.CONST_GIT_URL
GitPythonRuntimeHandler.CONST_JOB_ENTRYPOINT
GitPythonRuntimeHandler.CONST_OUTPUT_DIR
GitPythonRuntimeHandler.CONST_OUTPUT_URI
GitPythonRuntimeHandler.CONST_PYTHON_PATH
GitPythonRuntimeHandler.CONST_SKIP_METADATA
GitPythonRuntimeHandler.CONST_WORKING_DIR
GitPythonRuntimeHandler.PATH_DELIMITER
GitPythonRuntimeHandler.RUNTIME_CLASS
GitPythonRuntimeHandler.SPEC_MAPPINGS
IncompatibleRuntime
NotebookRuntimeHandler
PyTorchDistributedRuntimeHandler
PythonRuntimeHandler
PythonRuntimeHandler.CONST_CODE_ENTRYPOINT
PythonRuntimeHandler.CONST_ENTRY_FUNCTION
PythonRuntimeHandler.CONST_JOB_ENTRYPOINT
PythonRuntimeHandler.CONST_OUTPUT_DIR
PythonRuntimeHandler.CONST_OUTPUT_URI
PythonRuntimeHandler.CONST_PYTHON_PATH
PythonRuntimeHandler.CONST_WORKING_DIR
PythonRuntimeHandler.PATH_DELIMITER
PythonRuntimeHandler.RUNTIME_CLASS
PythonRuntimeHandler.SPEC_MAPPINGS
RuntimeHandler
ScriptRuntimeHandler
- ads.jobs.builders.infrastructure.utils module
- Module contents
- ads.jobs.builders.runtimes package
- Submodules
- ads.jobs.builders.runtimes.artifact module
- ads.jobs.builders.runtimes.base module
MultiNodeRuntime
Runtime
Runtime.CONST_ARGS
Runtime.CONST_DEFINED_TAGS
Runtime.CONST_ENV_VAR
Runtime.CONST_FREEFORM_TAGS
Runtime.CONST_MAXIMUM_RUNTIME_IN_MINUTES
Runtime.args
Runtime.attribute_map
Runtime.defined_tags
Runtime.environment_variables
Runtime.envs
Runtime.freeform_tags
Runtime.init()
Runtime.kind
Runtime.maximum_runtime_in_minutes
Runtime.type
Runtime.with_argument()
Runtime.with_defined_tag()
Runtime.with_environment_variable()
Runtime.with_freeform_tag()
Runtime.with_maximum_runtime_in_minutes()
- ads.jobs.builders.runtimes.container_runtime module
ContainerRuntime
ContainerRuntime.CONST_CMD
ContainerRuntime.CONST_ENTRYPOINT
ContainerRuntime.CONST_IMAGE
ContainerRuntime.CONST_IMAGE_DIGEST
ContainerRuntime.CONST_IMAGE_SIGNATURE_ID
ContainerRuntime.CONST_SCRIPT_PATH
ContainerRuntime.artifact_uri
ContainerRuntime.attribute_map
ContainerRuntime.cmd
ContainerRuntime.entrypoint
ContainerRuntime.image
ContainerRuntime.image_digest
ContainerRuntime.image_signature_id
ContainerRuntime.init()
ContainerRuntime.job_env_type
ContainerRuntime.with_artifact()
ContainerRuntime.with_cmd()
ContainerRuntime.with_entrypoint()
ContainerRuntime.with_image()
ContainerRuntime.with_image_digest()
ContainerRuntime.with_image_signature_id()
- ads.jobs.builders.runtimes.python_runtime module
CondaRuntime
CondaRuntime.CONST_CONDA
CondaRuntime.CONST_CONDA_REGION
CondaRuntime.CONST_CONDA_SLUG
CondaRuntime.CONST_CONDA_TYPE
CondaRuntime.CONST_CONDA_TYPE_CUSTOM
CondaRuntime.CONST_CONDA_TYPE_SERVICE
CondaRuntime.CONST_CONDA_URI
CondaRuntime.attribute_map
CondaRuntime.conda
CondaRuntime.init()
CondaRuntime.with_custom_conda()
CondaRuntime.with_service_conda()
DataFlowNotebookRuntime
DataFlowRuntime
DataFlowRuntime.CONST_ARCHIVE_BUCKET
DataFlowRuntime.CONST_ARCHIVE_URI
DataFlowRuntime.CONST_CONDA_AUTH_TYPE
DataFlowRuntime.CONST_CONFIGURATION
DataFlowRuntime.CONST_OVERWRITE
DataFlowRuntime.CONST_SCRIPT_BUCKET
DataFlowRuntime.CONST_SCRIPT_PATH
DataFlowRuntime.archive_bucket
DataFlowRuntime.archive_uri
DataFlowRuntime.attribute_map
DataFlowRuntime.configuration
DataFlowRuntime.convert()
DataFlowRuntime.init()
DataFlowRuntime.overwrite
DataFlowRuntime.script_bucket
DataFlowRuntime.script_uri
DataFlowRuntime.with_archive_bucket()
DataFlowRuntime.with_archive_uri()
DataFlowRuntime.with_conda()
DataFlowRuntime.with_configuration()
DataFlowRuntime.with_custom_conda()
DataFlowRuntime.with_overwrite()
DataFlowRuntime.with_script_bucket()
DataFlowRuntime.with_script_uri()
DataFlowRuntime.with_service_conda()
GitPythonRuntime
GitPythonRuntime.CONST_BRANCH
GitPythonRuntime.CONST_COMMIT
GitPythonRuntime.CONST_GIT_SSH_SECRET_ID
GitPythonRuntime.CONST_GIT_URL
GitPythonRuntime.CONST_SKIP_METADATA
GitPythonRuntime.attribute_map
GitPythonRuntime.branch
GitPythonRuntime.commit
GitPythonRuntime.init()
GitPythonRuntime.skip_metadata_update
GitPythonRuntime.ssh_secret_ocid
GitPythonRuntime.url
GitPythonRuntime.with_source()
NotebookRuntime
NotebookRuntime.CONST_ENTRYPOINT
NotebookRuntime.CONST_EXCLUDE_TAG
NotebookRuntime.CONST_NOTEBOOK_ENCODING
NotebookRuntime.CONST_NOTEBOOK_PATH
NotebookRuntime.CONST_OUTPUT_URI
NotebookRuntime.CONST_OUTPUT_URI_ALT
NotebookRuntime.CONST_SOURCE
NotebookRuntime.attribute_map
NotebookRuntime.exclude_tag
NotebookRuntime.init()
NotebookRuntime.notebook
NotebookRuntime.notebook_encoding
NotebookRuntime.notebook_uri
NotebookRuntime.output_uri
NotebookRuntime.source
NotebookRuntime.with_exclude_tag()
NotebookRuntime.with_notebook()
NotebookRuntime.with_output()
NotebookRuntime.with_source()
PythonRuntime
ScriptRuntime
- Module contents
Submodules¶
ads.jobs.builders.base module¶
- class ads.jobs.builders.base.Builder(spec: Dict | None = None, **kwargs)[source]¶
Bases:
Serializable
To initialize the object, user can either pass in the specification as a dictionary or through keyword arguments.
- Parameters:
- attribute_map = {}¶
- build() Self [source]¶
Load default values from the environment for the job infrastructure. Should be implemented on the child level.
- get_spec(key: str, default: Any | None = None) Any [source]¶
Gets the value of a specification property
- Parameters:
key (str) – The name of the property.
default (Any, optional) – The default value to be used, if the property does not exist, by default None.
- Returns:
The value of the property.
- Return type:
Any
- property kind: str¶
The kind of the object as showing in YAML. Subclass should overwrite this value.