Skip to content

Commit 7c2dd39

Browse files
committed
Update README
1 parent eb166cf commit 7c2dd39

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,8 @@ Keyword Arguments:
414414
* `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
415415
* [DEPRECATED: Use `path` instead] `notebook_path` (str, optional): The path to the notebook. If not provided, a random notebook will be created.
416416
* `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.
418419
* `spark_conf` (dict, optional): The Spark configuration of the job. If not provided, Spark configuration is not explicitly set.
419420
* `libraries` (list, optional): The list of libraries to install on the job.
420421
* `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):
428429
logger.info(f"created {make_job()}")
429430
```
430431

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).
432433

433434

434435
[[back to top](#python-testing-for-databricks)]
@@ -671,7 +672,7 @@ def test_create_file(make_workspace_file):
671672
TODO:
672673
Merge functionality with `make_notebook` if `WorkspacePath` supports creating notebooks.
673674

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).
675676

676677

677678
[[back to top](#python-testing-for-databricks)]

0 commit comments

Comments
 (0)