Notebook Task
notebook_task(notebook_path, base_parameters = list())
The absolute path of the notebook to be run in the Databricks workspace. This path must begin with a slash.
Named list of base parameters to be used for each run of this job.
If the run is initiated by a call to db_jobs_run_now()
with parameters
specified, the two parameters maps are merged. If the same key is specified
in base_parameters and in run-now, the value from run-now is used.
Use Task parameter variables to set parameters containing information about job runs.
If the notebook takes a parameter that is not specified in the job’s
base_parameters
or the run-now override parameters, the default value from
the notebook is used.
Retrieve these parameters in a notebook using dbutils.widgets.get
.
Other Task Objects:
email_notifications()
,
libraries()
,
new_cluster()
,
pipeline_task()
,
python_wheel_task()
,
spark_jar_task()
,
spark_python_task()
,
spark_submit_task()