Skip to content

Commit 5718df2

Browse files
Cleanup the internal lakeflow-pipelines template (#3656)
## Changes This cleans up the internal `lakeflow-pipelines` template, removing an unused file and excluding the unused `lib/` folder. ## Why * The `lakeflow-pipelines` template doesn't currently make use of a Python package, since the "Include a Python package?" question defaults to "no." * The `lakeflow-pipelines` template currently still doesn't make use of an environment and the `lib/` folder. That is expected to be added in an upcoming version. ## Testing * Manual testing + updated acceptance tests
1 parent 3ba8c2e commit 5718df2

File tree

6 files changed

+1
-15
lines changed

6 files changed

+1
-15
lines changed

acceptance/bundle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/lib/shared/__init__.py

Whitespace-only changes.

acceptance/bundle/templates/lakeflow-pipelines/python/output/my_lakeflow_pipelines/lib/shared/taxis.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

acceptance/bundle/templates/lakeflow-pipelines/sql/output/my_lakeflow_pipelines/lib/shared/__init__.py

Whitespace-only changes.

acceptance/bundle/templates/lakeflow-pipelines/sql/output/my_lakeflow_pipelines/lib/shared/taxis.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

libs/template/templates/lakeflow-pipelines/pr-lakeflow-default-python-as-pipelines-template.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

libs/template/templates/lakeflow-pipelines/template/__preamble.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ This file only template directives; it is skipped for the actual output.
5555
{{if $lakeflow_only}}
5656
# Only include a simple job.yml direcly in resources/{{.project_name_short}}_etl
5757
{{skip "{{.project_name}}/resources/sample_job/**"}}
58+
{{skip "{{.project_name}}/lib/**"}}
5859
{{else}}
5960
# Include a full job that might have more than one task
6061
{{skip "{{.project_name}}/resources/{{.project_name_short}}_etl/*.job.yml"}}

0 commit comments

Comments
 (0)