databricks-cli/libs/template
shreyas-goenka d4d4b7480f
Do not allow empty descriptions for bundle template inputs (#967)
## Changes
We rely on the descriptions to render the prompts to a user. Thus we
should not allow empty descriptions here. Note, both mlops stacks and
the default-python template have descriptions for all their properties
so this should not be an issue.

## Tests
Unit test
2023-11-08 16:48:37 +00:00
..
templates/default-python Add welcome message to bundle templates (#907) 2023-10-25 12:27:25 +00:00
testdata Do not allow empty descriptions for bundle template inputs (#967) 2023-11-08 16:48:37 +00:00
config.go Do not allow empty descriptions for bundle template inputs (#967) 2023-11-08 16:48:37 +00:00
config_test.go Do not allow empty descriptions for bundle template inputs (#967) 2023-11-08 16:48:37 +00:00
file.go Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
file_test.go Only treat files with .tmpl extension as templates (#594) 2023-08-01 13:43:27 +00:00
helpers.go Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
helpers_test.go Add a foundation for built-in templates (#685) 2023-08-25 09:03:42 +00:00
materialize.go Add welcome message to bundle templates (#907) 2023-10-25 12:27:25 +00:00
renderer.go Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00
renderer_test.go Improve the output of the `databricks bundle init` command (#795) 2023-10-19 07:08:36 +00:00