Traceback (most recent call last):
File "/opt/project/collect_data/main.py", line 39, in <module>
calculate_responsible_turnover_step = DatabricksStep(name="calculate_responsible_turnover",
File "/opt/conda/lib/python3.8/site-packages/azureml/pipeline/steps/databricks_step.py", line 398, in __init__
super(DatabricksStep, self).__init__(
File "/opt/conda/lib/python3.8/site-packages/azureml/pipeline/core/_databricks_step_base.py", line 385, in __init__
self._params["python_script_params"] = self._encode_string_params(python_script_params)
File "/opt/conda/lib/python3.8/site-packages/azureml/pipeline/core/_databricks_step_base.py", line 578, in _encode_string_params
final_params_list.append(value.replace("|", "|-"))
AttributeError: 'DataReference' object has no attribute 'replace'
Seems like the DatabricksStep is expecting a string, but if I typecast my DataReference as a string, it becomes $AZUREML_DATAREFERENCE_day_files instead of the actual path. I'm running the following packages:
When passing a DataReference to my DatabricksStep:
I'm getting the error:
Seems like the DatabricksStep is expecting a string, but if I typecast my DataReference as a string, it becomes
$AZUREML_DATAREFERENCE_day_files
instead of the actual path. I'm running the following packages:Any suggestions on how to proceed with this problem?