databricks-cli/bundle/internal/schema
Gleb Kanterov 02c7df39f6
Add 'experimental/python' support (#2052)
## Changes
Add `experimental/python` section replacing `experimental/pydabs`.

Add 2 new mutators into existing pipeline:
- `ApplyPythonMutator(load_resources)` - loads resources from Python
code
- `ApplyPythonMutator(apply_mutators)` - transforms existing resources
defined in Python/YAML

Example:
```yaml
experimental:
  python:
    resources:
    - "resources:load_resources"
    mutators:
    - "mutators:add_email_notifications"
```

## Tests
Unit tests and manually

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2025-01-08 09:29:45 +00:00
..
testdata Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
annotations.go fix: Empty schema fields in OpenAPI spec (#2045) 2024-12-23 12:08:01 +00:00
annotations.yml Add 'experimental/python' support (#2052) 2025-01-08 09:29:45 +00:00
annotations_openapi.yml fix: Empty schema fields in OpenAPI spec (#2045) 2024-12-23 12:08:01 +00:00
annotations_openapi_overrides.yml Upgrade Go SDK to 0.54.0 (#2029) 2024-12-18 12:43:27 +00:00
annotations_test.go Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
main.go Custom annotations for bundle-specific JSON schema fields (#1957) 2024-12-18 10:19:14 +00:00
main_test.go Enable testifylint and fix the issues (#2065) 2025-01-02 12:03:41 +01:00
parser.go Enable intrange linter and apply autofix (#2069) 2025-01-03 09:25:07 +00:00