library · inferred from evidence
TaskDependency
The class name for task dependencies in recent releases of the Databricks SDK.
- Fix AttributeError when setting depends_on in Databricks job tasks
Building a Databricks job with `depends_on=['task1']` raises `AttributeError: str object has no attribute as_dict` because the field expects TaskDependency objects, not plain strings. Wrap each dependency: `jobs.Task(name='task2', depends_o