databricks-cli/libs/jsonschema/testdata/schema-load-int
shreyas-goenka bdef0f7b23
Add support for conditional prompting in bundle init (#971)
## Changes
This PR introduces the `skip_prompt_if` extension to the jsonschema
library. If the inputs provided by the user match the JSON schema then
the prompt for that property is skipped.

Right now only constant checks are supported, but if in the future more
complicated conditionals are required, this can be extended to support
`allOf`, `oneOf`, `anyOf` etc allowing template authors to specify
conditionals of arbitary complexity.

## Tests
Unit tests and manually.
2023-11-30 16:07:45 +00:00
..
schema-invalid-const.json Add support for conditional prompting in bundle init (#971) 2023-11-30 16:07:45 +00:00
schema-invalid-default.json Add schema and config validation to jsonschema package (#740) 2023-09-07 14:36:06 +00:00
schema-invalid-enum.json Add enum support for bundle templates (#668) 2023-09-08 12:07:22 +00:00
schema-valid.json Add support for conditional prompting in bundle init (#971) 2023-11-30 16:07:45 +00:00