Azure / Azure/MachineLearningNotebooks
PipelineParameter default values in DatabricksStep
- 主要語言
- Jupyter Notebook
- 星號
- 4.4k
- 分支
- 2.6k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
It seems only string types are supported. int/float types throw the following error:
```
.../lib/python3.7/site-packages/azureml/pipeline/core/_databricks_step_base.py", line 569, in _encode_string_params
final_params_list.append(value.replace("|", "|-"))
AttributeError: 'int' object has no attribute 'replace'
```
I don't see this behavior when using pipeline parameters in `PythonScriptStep`.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從 lib/python3.7/site-packages/azureml/pipeline/core/_databricks_step_base.py 和 traceback 中提到的 _encode_string_params 方法開始。使用 PipelineParameter 的 int 和 float 預設值重現失敗,比較對應的 PythonScriptStep 行為,並驗證 DatabricksStep 接受這些參數類型時不會出現回報的 AttributeError。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- azure, machine-learning, python
- 領域
- machine-learning
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100