Open BGerwe opened 1 year ago
Using the DLT pipeline deployment file as a template, I should be able to fill in appropriate values and deploy the pipeline successfully.
Trying to deploy the pipeline results in AttributeError: 'list' object has no attribute 'get'.
AttributeError: 'list' object has no attribute 'get'
conf/dlt_deployment.yml
environments: workflows: - name: "test_DLT_pipeline" workflow_type: "pipeline" storage: "dbfs:/user/location" configuration: "property1": "value" clusters: - label: "some-label" autoscale: min_workers: 1 max_workers: 2 mode: "legacy" libraries: - notebook: path: "/Repos/user/path_to_notebook" target: "some_target_db"
dbx deploy --deployment-file conf/dlt_deployment.yml
This is fixed by adding a default: level after environments:
default:
environments:
environments: default: workflows: - name: "test_DLT_pipeline" ...
python 3.9.15
Expected Behavior
Using the DLT pipeline deployment file as a template, I should be able to fill in appropriate values and deploy the pipeline successfully.
Current Behavior
Trying to deploy the pipeline results in
AttributeError: 'list' object has no attribute 'get'
.Steps to Reproduce (for bugs)
conf/dlt_deployment.yml
dbx deploy --deployment-file conf/dlt_deployment.yml
Context
This is fixed by adding a
default:
level afterenvironments:
Your Environment
python 3.9.15