@@ -29,7 +29,9 @@ For example, you can specify files on OCI object storage using URI like
2929The source code can be a single file, a compressed file/archive (zip/tar), or a folder.
3030When the source code is a compressed file/archive (zip/tar) or a folder, you need to also specify the entrypoint
3131using :py:meth: `~ads.jobs.PythonRuntime.with_entrypoint `. The path of the entrypoint should be a path relative to
32- the working directory.
32+ the working directory.
33+
34+ The entrypoint can be a Python script or a Jupyter Notebook.
3335
3436Working Directory
3537=================
@@ -105,10 +107,10 @@ This will give you outputs similar to the following:
105107 Length Date Time Name
106108 --------- ---------- ----- ----
107109 0 02-22-2023 16:38 my_source_code/
108- 1803 02-22-2023 16:38 my_source_code/my_module.py
109- 91 02-22-2023 16:38 my_source_code/my_entrypoint.py
110+ 1803 02-22-2023 16:38 my_source_code/my_module.py
111+ 91 02-22-2023 16:38 my_source_code/my_entrypoint.py
110112 --------- -------
111- 1894 3 files
113+ 1894 3 files
112114
113115 In this case, a top level directory ``my_source_code/ `` is presented in the archive.
114116The file structure in the job run will look like:
@@ -130,10 +132,10 @@ If a top level directory is not presented, outputs for the archive will look lik
130132 Archive: path/to/my_source_code.zip
131133 Length Date Time Name
132134 --------- ---------- ----- ----
133- 1803 02-22-2023 16:38 my_module.py
134- 91 02-22-2023 16:38 my_entrypoint.py
135+ 1803 02-22-2023 16:38 my_module.py
136+ 91 02-22-2023 16:38 my_entrypoint.py
135137 --------- -------
136- 1894 2 files
138+ 1894 2 files
137139
138140 In this case, the file structure in the job run will look like:
139141
@@ -166,6 +168,6 @@ Saving Outputs
166168==============
167169
168170The :py:meth: `~ads.jobs.PythonRuntime.with_output ` method allows you to specify the output directory ``output_dir ``
169- in the job run and a remote URI (for example, an OCI Object Storage URI).
171+ in the job run and a remote URI (`` output_uri ``, for example, an OCI Object Storage URI).
170172Files in the ``output_dir `` are copied to the remote output URI after the job run finishes successfully.
171173Note that the ``output_dir `` should be a path relative to the working directory.
0 commit comments