@@ -4,25 +4,17 @@ Runtime
44The *runtime * of a job defines the source code of your workload, environment variables, CLI arguments
55and other configurations for the environment to run the workload.
66
7+ .. include :: ../jobs/components/toc_local.rst
8+
79Depending on the source code, ADS provides different types of *runtime * for defining a data science job,
810including:
911
10- * :py:class: `~ads.jobs.PythonRuntime `
11- for Python code stored locally, OCI object storage, or other remote location supported by
12- `fsspec <https://filesystem-spec.readthedocs.io/en/latest/ >`_
13- * :py:class: `~ads.jobs.GitPythonRuntime `
14- for Python code from a Git repository.
15- * :py:class: `~ads.jobs.NotebookRuntime `
16- for a single Jupyter notebook stored locally, OCI object storage, or other remote location supported by
17- `fsspec <https://filesystem-spec.readthedocs.io/en/latest/ >`_
18- * :py:class: `~ads.jobs.ScriptRuntime `
19- for bash or shell scripts stored locally, OCI object storage, or other remote location supported by
20- `fsspec <https://filesystem-spec.readthedocs.io/en/latest/ >`_
21- * :py:class: `~ads.jobs.ContainerRuntime ` for container images.
12+ .. include :: ../jobs/components/runtime_types.rst
2213
2314
2415Environment Variables
2516=====================
17+
2618You can set environment variables for a runtime by calling
2719:py:meth: `~ads.jobs.PythonRuntime.with_environment_variable() `.
2820Environment variables enclosed by ``${...} `` will be substituted. For example:
@@ -159,8 +151,8 @@ For more details on custom conda environment, see
159151<https://docs.oracle.com/en-us/iaas/data-science/using/conda_publishs_object.htm> `__.
160152
161153
162- Override Configuration
163- ======================
154+ Override Configurations
155+ =======================
164156
165157When you call :py:meth: `ads.jobs.Job.run `, a new job run will be started with the configuration defined in the **job **.
166158You may want to override the configuration with custom variables. For example,
0 commit comments