@@ -7,12 +7,12 @@ Quick Start
77 See also: :doc: `policies ` and `About Data Science Policies <https://docs.oracle.com/en-us/iaas/data-science/using/policies.htm >`_.
88
99In ADS, a job is defined by :doc: `infrastructure ` and :doc: `runtime `.
10- The Data Science Job infrastructure is configured through a :py:class: `~ads.jobs.builders.infrastructure.dsc_job. DataScienceJob ` instance.
11- The runtime can be an instance of :py:class: `~ads.jobs.builders.runtimes.python_runtime. PythonRuntime `,
12- :py:class: `~ads.jobs.builders.runtimes.python_runtime. GitPythonRuntime `,
13- :py:class: `~ads.jobs.builders.runtimes.python_runtime. NotebookRuntime `,
14- :py:class: `~ads.jobs.builders.runtimes.python_runtime. ScriptRuntime `, or
15- :py:class: `~ads.jobs.builders.runtimes.python_runtime. ContainerRuntime `
10+ The Data Science Job infrastructure is configured through a :py:class: `~ads.jobs.DataScienceJob ` instance.
11+ The runtime can be an instance of :py:class: `~ads.jobs.PythonRuntime `,
12+ :py:class: `~ads.jobs.GitPythonRuntime `,
13+ :py:class: `~ads.jobs.NotebookRuntime `,
14+ :py:class: `~ads.jobs.ScriptRuntime `, or
15+ :py:class: `~ads.jobs.ContainerRuntime `
1616
1717
1818Create and Run a Job
@@ -112,14 +112,16 @@ Here is an example to define and run a Python :py:class:`~ads.jobs.Job`:
112112
113113For more details, see :doc: `infrastructure ` configurations and see :doc: `runtime ` configurations.
114114
115- In :py:class: `~ads.jobs.builders.runtimes.python_runtime. PythonRuntime `,
115+ In :py:class: `~ads.jobs.PythonRuntime `,
116116the ``entrypoint `` can be a Python script, a Python function or a Jupyter notebook.
117117
118118Once the job is created, the job OCID can be accessed through ``job.id ``.
119119Once the job run is created, the job run OCID can be accessed through ``run.id ``.
120120
121- The `` watch() `` method is useful to monitor the progress of the job run if logging is configured .
121+ The :py:meth: ` ~ads.jobs.DataScienceJobRun. watch` method is useful to monitor the progress of the job run.
122122It will stream the logs to terminal and return once the job is finished.
123+ Logging configurations are required for this method to show logs.
124+
123125Here is an example of the logs:
124126
125127.. code-block :: text
0 commit comments