generated from databricks-industry-solutions/industry-solutions-blueprints
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hello, I'm following the documentation and want to execute the RUNME notebook. I attached the notebook to a single node Standard_DS3_v2 cluster with runtim version 16.3.
Cell number 6 gives the following error:
TypeError: PipelinesAPI.create() got an unexpected keyword argument 'request'
File <command-5510133079315844>, line 1
----> 1 pipeline_id = NotebookSolutionCompanion().deploy_pipeline(pipeline_json, dlt_config_table, spark)
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-0e9eae45-f863-4a90-a3ba-75e5fb0e08d5/lib/python3.12/site-packages/solacc/companion/__init__.py:304, in NotebookSolutionCompanion.deploy_pipeline(self, input_json, dlt_config_table, spark)
302 self.pipeline_params = self.customize_pipeline_json(self.pipeline_input_json, self.solacc_path)
303 pipeline_name = self.pipeline_params["name"]
--> 304 return self.create_or_update_pipeline_by_name(dlt_config_table, pipeline_name, self.pipeline_params, spark)
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-0e9eae45-f863-4a90-a3ba-75e5fb0e08d5/lib/python3.12/site-packages/solacc/companion/__init__.py:143, in NotebookSolutionCompanion.create_or_update_pipeline_by_name(self, dlt_config_table, pipeline_name, dlt_definition_dict, spark)
140 else:
141 # response = self.client.pipelines().create_from_dict(dlt_definition_dict)
142 request = CreatePipeline().from_dict(dlt_definition_dict)
--> 143 pipeline_id = self.w.pipelines.create(request=request).pipeline_id
145 return pipeline_id
It seems the PipelinesAPI.create() method may have changed since the creation of this notebook.
Metadata
Metadata
Assignees
Labels
No labels