SDK Types¶
databricks_bundle_decorators.sdk_types.JobConfig
¶
Bases: TypedDict
SDK-native fields forwarded to databricks.bundles.jobs.Job.
Pass any of these as keyword arguments to @job(...) alongside
the framework-managed parameters (params, cluster).
Example::
from databricks.bundles.jobs import CronSchedule
@job(
tags={"team": "data"},
schedule=CronSchedule(
quartz_cron_expression="0 0 * * * ?",
timezone_id="UTC",
),
max_concurrent_runs=1,
)
def my_job():
...
databricks_bundle_decorators.sdk_types.TaskConfig
¶
Bases: TypedDict
SDK-native fields forwarded to databricks.bundles.jobs.Task.
Pass any of these as keyword arguments to @task(...) alongside
the framework convenience parameter (io_manager).
Example::
@task(
max_retries=2,
timeout_seconds=1800,
retry_on_timeout=True,
)
def my_task():
...
databricks_bundle_decorators.sdk_types.ClusterConfig
¶
Bases: TypedDict
SDK-native fields forwarded to databricks.bundles.jobs.ClusterSpec.
Pass any of these as keyword arguments to @job_cluster(...)
alongside the framework convenience parameter (name).
Example::
@job_cluster(
name="small_cluster",
spark_version="13.2.x-scala2.12",
node_type_id="Standard_DS3_v2",
num_workers=2,
)
def small_cluster():
...