Getting started
Prerequisites
- Prefect installed in a virtual environment.
- A Databricks account and the necessary permissions to access desired services.
Install prefect-databricks
Install or update to the latest version of the prefect-databrickslibrary and dependencies.
List jobs on the Databricks instance
Use with_options
to customize options on any existing task or flow
Launch a new cluster and run a Databricks notebook
Notebook namedexample.ipynb
on Databricks which accepts a name parameter:
example.ipynb
:
AutoScale(min_workers=1, max_workers=2)
is equivalent to {"min_workers": 1, "max_workers": 2}
.