You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -414,7 +414,8 @@ Keyword Arguments:
414
414
*`path` (str, optional): The path to the notebook or file used in the job. If not provided, a random notebook or file will be created
415
415
*[DEPRECATED: Use `path` instead]`notebook_path` (str, optional): The path to the notebook. If not provided, a random notebook will be created.
416
416
*`content` (str | bytes, optional): The content of the notebook or file used in the job. If not provided, default content of `make_notebook` will be used.
417
-
*`task_type` (type[NotebookTask] | type[SparkPythonTask], optional): The type of task. If not provides, `NotebookTask` will be used.
417
+
*`task_type` (type[NotebookTask] | type[SparkPythonTask], optional): The type of task. If not provides, `type[NotebookTask]` will be used.
418
+
*`instance_pool_id` (str, optional): The instance pool id to add to the job cluster. If not provided, no instance pool will be used.
418
419
*`spark_conf` (dict, optional): The Spark configuration of the job. If not provided, Spark configuration is not explicitly set.
419
420
*`libraries` (list, optional): The list of libraries to install on the job.
420
421
*`tags` (list[str], optional): A list of job tags. If not provided, no additional tags will be set on the job.
@@ -428,7 +429,7 @@ def test_job(make_job):
428
429
logger.info(f"created {make_job()}")
429
430
```
430
431
431
-
See also [`ws`](#ws-fixture), [`make_random`](#make_random-fixture), [`make_notebook`](#make_notebook-fixture), [`watchdog_remove_after`](#watchdog_remove_after-fixture).
432
+
See also [`ws`](#ws-fixture), [`make_random`](#make_random-fixture), [`make_notebook`](#make_notebook-fixture), [`make_workspace_file`](#make_workspace_file-fixture), [`watchdog_remove_after`](#watchdog_remove_after-fixture).
Merge functionality with `make_notebook` if `WorkspacePath` supports creating notebooks.
673
674
674
-
See also [`ws`](#ws-fixture), [`make_random`](#make_random-fixture), [`watchdog_purge_suffix`](#watchdog_purge_suffix-fixture).
675
+
See also [`make_job`](#make_job-fixture), [`ws`](#ws-fixture), [`make_random`](#make_random-fixture), [`watchdog_purge_suffix`](#watchdog_purge_suffix-fixture).
0 commit comments