adjust whitespace

This commit is contained in:
Denis Bilenko 2025-02-14 17:21:43 +01:00
parent 71b6394ccd
commit 654832ea1f
4 changed files with 12 additions and 9 deletions

View File

@ -6,7 +6,7 @@
+ job_cluster_key: job_cluster + job_cluster_key: job_cluster
notebook_task: notebook_task:
notebook_path: ../src/notebook.ipynb notebook_path: ../src/notebook.ipynb
@@ -29,16 +30,19 @@ @@ -29,17 +30,20 @@
depends_on: depends_on:
- task_key: refresh_pipeline - task_key: refresh_pipeline
- environment_key: default - environment_key: default
@ -14,6 +14,12 @@
python_wheel_task: python_wheel_task:
package_name: my_default_python package_name: my_default_python
entry_point: main entry_point: main
+ libraries:
+ # By default we just include the .whl file generated for the my_default_python package.
+ # See https://docs.databricks.com/dev-tools/bundles/library-dependencies.html
+ # for more information on how to add other libraries.
+ - whl: ../dist/*.whl
- # A list of task execution environment specifications that can be referenced by tasks of this job. - # A list of task execution environment specifications that can be referenced by tasks of this job.
- environments: - environments:
- - environment_key: default - - environment_key: default
@ -24,11 +30,6 @@
- client: "1" - client: "1"
- dependencies: - dependencies:
- - ../dist/*.whl - - ../dist/*.whl
+ libraries:
+ # By default we just include the .whl file generated for the my_default_python package.
+ # See https://docs.databricks.com/dev-tools/bundles/library-dependencies.html
+ # for more information on how to add other libraries.
+ - whl: ../dist/*.whl
+ job_clusters: + job_clusters:
+ - job_cluster_key: job_cluster + - job_cluster_key: job_cluster
+ new_cluster: + new_cluster:

View File

@ -38,6 +38,7 @@ resources:
# See https://docs.databricks.com/dev-tools/bundles/library-dependencies.html # See https://docs.databricks.com/dev-tools/bundles/library-dependencies.html
# for more information on how to add other libraries. # for more information on how to add other libraries.
- whl: ../dist/*.whl - whl: ../dist/*.whl
job_clusters: job_clusters:
- job_cluster_key: job_cluster - job_cluster_key: job_cluster
new_cluster: new_cluster:

View File

@ -32,6 +32,7 @@ resources:
python_wheel_task: python_wheel_task:
package_name: my_default_python package_name: my_default_python
entry_point: main entry_point: main
# A list of task execution environment specifications that can be referenced by tasks of this job. # A list of task execution environment specifications that can be referenced by tasks of this job.
environments: environments:
- environment_key: default - environment_key: default

View File

@ -72,8 +72,8 @@ resources:
- whl: ../dist/*.whl - whl: ../dist/*.whl
{{- end -}} {{- end -}}
{{else}} {{else}}
{{- end -}} {{- end}}
{{- if $with_serverless}} {{if $with_serverless}}
# A list of task execution environment specifications that can be referenced by tasks of this job. # A list of task execution environment specifications that can be referenced by tasks of this job.
environments: environments:
- environment_key: default - environment_key: default