diff --git a/libs/template/templates/default-python/databricks_template_schema.json b/libs/template/templates/default-python/databricks_template_schema.json index 22c65f309..db8adcce1 100644 --- a/libs/template/templates/default-python/databricks_template_schema.json +++ b/libs/template/templates/default-python/databricks_template_schema.json @@ -7,26 +7,23 @@ "order": 1 }, "include_notebook": { - "todo": "use an enum here, see https://github.com/databricks/cli/pull/668", "type": "string", "default": "yes", - "pattern": "^(yes|no)$", + "enum": ["yes", "no"], "description": "Include a stub (sample) notebook in 'my_project/src'", "order": 2 }, "include_dlt": { - "todo": "use an enum here, see https://github.com/databricks/cli/pull/668", "type": "string", "default": "yes", - "pattern": "^(yes|no)$", + "enum": ["yes", "no"], "description": "Include a stub (sample) DLT pipeline in 'my_project/src'", "order": 3 }, "include_python": { - "todo": "use an enum here, see https://github.com/databricks/cli/pull/668", "type": "string", "default": "yes", - "pattern": "^(yes|no)$", + "enum": ["yes", "no"], "description": "Include a stub (sample) Python package 'my_project/src'", "order": 4 }