Skip to content

Commit ef75530

Browse files
authored
Updated job docs (#507)
2 parents 2eabfb0 + af35d2a commit ef75530

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ads/jobs/builders/runtimes/container_runtime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ContainerRuntime(Runtime):
2323
>>> ContainerRuntime()
2424
>>> .with_image(
2525
>>> "iad.ocir.io/<your_tenancy>/<your_image>",
26-
>>> entrypoint=["/bin/sh", -c],
26+
>>> entrypoint=["/bin/sh", "-c"],
2727
>>> cmd="sleep 5 && echo Hello World",
2828
>>> )
2929
>>> .with_environment_variable(MY_ENV="MY_VALUE")

docs/source/user_guide/jobs/data_science_job.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ to create the job on OCI. To start a job run, you can call the :py:meth:`~ads.jo
8585
which returns a :py:class:`~ads.jobs.DataScienceJobRun` instance.
8686
Once the job or job run is created, the job OCID can be accessed through ``job.id`` or ``run.id``.
8787

88+
.. note::
89+
90+
Once a job is created, if you change the configuration, you will need to re-create a job for the new configuration.
91+
8892
.. code-block:: python
8993
9094
# Create the job on OCI Data Science

0 commit comments

Comments
 (0)