Discovery¶
databricks_bundle_decorators.discovery
¶
Pipeline discovery via Python entry points.
Pipeline packages register themselves under the databricks_bundle_decorators.pipelines
entry-point group in their pyproject.toml::
[project.entry-points."databricks_bundle_decorators.pipelines"]
my_pipeline = "my_pipeline.pipelines"
At deploy time and runtime, databricks-bundle-decorators discovers and
imports all registered modules, triggering @task / @job /
@job_cluster decorator registration.
This is the standard Python plugin-discovery pattern (used by pytest, Flask, Dagster, etc.) and decouples the framework package from concrete pipeline implementations.
discover_pipelines()
¶
Import every module registered under the databricks_bundle_decorators.pipelines entry-point group.