Files
stack/bundle/resources/__init__.py
kert 3c5b8e5ac1
Some checks failed
CI / skinny-install (aco) (push) Successful in 49s
CI / skinny-install (api) (push) Successful in 30s
CI / lint-test (push) Successful in 1m27s
CI / skinny-install (bcda) (push) Successful in 33s
CI / skinny-install (bib) (push) Successful in 30s
CI / skinny-install (ccw) (push) Successful in 27s
CI / skinny-install (bls) (push) Successful in 30s
CI / skinny-install (cms) (push) Successful in 26s
CI / skinny-install (cli) (push) Successful in 34s
CI / skinny-install (conf) (push) Successful in 25s
CI / skinny-install (perf) (push) Successful in 29s
CI / skinny-install (pfs) (push) Successful in 32s
CI / skinny-install (rex) (push) Successful in 26s
Infra CI / notebooks (push) Successful in 6s
Infra CI / zotero (push) Successful in 7s
Infra CI / docs (push) Successful in 8s
Infra CI / api (push) Successful in 9s
Infra CI / mc (push) Successful in 7s
Package Supply Chain / pkg-supply-chain (push) Failing after 52s
Deploy / build-scan-report (push) Successful in 3m21s
feat: databricks-bundles Python resource loader — typed DAB resources
Replace 375-line OrderedDict YAML generator with typed Python
resources via databricks-bundles 0.295.0. databricks.yml shrinks
from 278 lines to 23 — delegates all resource definitions to
bundle/resources/__init__.py via python.resources entry point.

- bundle/resources/__init__.py: load_resources() returns Resources
  with Job, Schema, Volume from pipeline registry
- databricks.yml: minimal (bundle name, targets, python entry point)
- Replaced databricks-cli>=0.18.0 with databricks-bundles>=0.295.0
- 30 DAB tests passing (12 new Python resource tests)
- 12,067 total tests passing

Refs #224
2026-03-25 00:29:13 -04:00

4.0 KiB