File tree Expand file tree Collapse file tree 15 files changed +90
-20
lines changed
acceptance/bundle/templates/pydabs Expand file tree Collapse file tree 15 files changed +90
-20
lines changed Original file line number Diff line number Diff line change 11== Collecting resources into ./enable_pydabs=yes
22
3- >>> [CLI] bundle init default-python --config-file ./input.json
3+ >>> [CLI] bundle init pydabs --config-file ./input.json
44
55Welcome to the default Python template for Databricks Asset Bundles!
66Workspace to use (auto-detected, edit in 'my_pydabs/databricks.yml'): [DATABRICKS_URL]
@@ -17,7 +17,7 @@ See also the documentation at https://docs.databricks.com/dev-tools/bundles/inde
1717>>> [CLI] bundle validate --output json
1818== Collecting resources into ./enable_pydabs=no
1919
20- >>> [CLI] bundle init default-python --config-file ./input.json
20+ >>> [CLI] bundle init pydabs --config-file ./input.json
2121
2222Welcome to the default Python template for Databricks Asset Bundles!
2323Workspace to use (auto-detected, edit in 'my_pydabs/databricks.yml'): [DATABRICKS_URL]
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ for enable_pydabs in yes no; do
33
44 enable_pydabs=$enable_pydabs envsubst < input.json.tmpl > input.json
55
6- trace $CLI bundle init default-python --config-file ./input.json
6+ trace $CLI bundle init pydabs --config-file ./input.json
77
88 (
99 cd my_pydabs
Original file line number Diff line number Diff line change 33 "include_notebook": "$INCLUDE_NOTEBOOK",
44 "include_dlt": "$INCLUDE_DLT",
55 "include_python": "$INCLUDE_PYTHON",
6- "enable_pydabs": "yes",
76 "serverless": "$SERVERLESS"
87}
Original file line number Diff line number Diff line change 11
2- >>> [CLI] bundle init default-python --config-file ./input.json
2+ >>> [CLI] bundle init pydabs --config-file ./input.json
33
44Welcome to the default Python template for Databricks Asset Bundles!
55Workspace to use (auto-detected, edit in 'my_pydabs/databricks.yml'): [DATABRICKS_URL]
Original file line number Diff line number Diff line change 11envsubst < input.json.tmpl > input.json
22
3- trace $CLI bundle init default-python --config-file ./input.json
3+ trace $CLI bundle init pydabs --config-file ./input.json
44
55# only keep relevant files for snapshots
66trace find my_pydabs -mindepth 1 ! -name 'pyproject.toml' ! -regex '.*/resources.*' -delete
Original file line number Diff line number Diff line change 33 "include_notebook" : " yes" ,
44 "include_dlt" : " yes" ,
55 "include_python" : " yes" ,
6- "serverless" : " no" ,
7- "enable_pydabs" : " yes"
6+ "serverless" : " no"
87}
Original file line number Diff line number Diff line change 11
2- >>> [CLI] bundle init default-python --config-file ./input.json
2+ >>> [CLI] bundle init pydabs --config-file ./input.json
33
44Welcome to the default Python template for Databricks Asset Bundles!
55Workspace to use (auto-detected, edit in 'my_pydabs/databricks.yml'): [DATABRICKS_URL]
Original file line number Diff line number Diff line change 1- trace $CLI bundle init default-python --config-file ./input.json
1+ trace $CLI bundle init pydabs --config-file ./input.json
22
33(
44 cd my_pydabs
Original file line number Diff line number Diff line change 33 "include_notebook" : " yes" ,
44 "include_dlt" : " yes" ,
55 "include_python" : " yes" ,
6- "serverless" : " no" ,
7- "enable_pydabs" : " yes"
6+ "serverless" : " no"
87}
Original file line number Diff line number Diff line change 11
2- >>> [CLI] bundle init default-python --config-file ./input.json --output-dir output
2+ >>> [CLI] bundle init pydabs --config-file ./input.json --output-dir output
33
44Welcome to the default Python template for Databricks Asset Bundles!
55Workspace to use (auto-detected, edit in 'my_pydabs/databricks.yml'): [DATABRICKS_URL]
You can’t perform that action at this time.
0 commit comments