You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2026. It is now read-only.
TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabetes_regression_build_train_pipeline.py", line 62 #253
In "Publish Azure Machine Learning Pipeline" of "Model CI Pipeline" I got the TypeError: create_sample_data_csv() missing 1 required positional argument: 'file_name' in ml_service/pipelines/diabetes_regression_build_train_pipeline.py", line 62
I was able to fix it by exchanging the lines 62 and 65 in ml_service/pipelines/diabetes_regression_build_train_pipeline.py and add the file_name as parameter to create_
Before:
# Check to see if dataset existsif (dataset_namenotinaml_workspace.datasets):
# This call creates an example CSV from sklearn sample data. If you# have already bootstrapped your project, you can comment this line# out and use your own CSV.create_sample_data_csv()
# Use a CSV to read in the data set.file_name='diabetes.csv'
After fixing:
# Check to see if dataset existsif (dataset_namenotinaml_workspace.datasets):
# Use a CSV to read in the data set.file_name='diabetes.csv'# This call creates an example CSV from sklearn sample data. If you# have already bootstrapped your project, you can comment this line# out and use your own CSV.create_sample_data_csv(file_name)
Activity
martin-weber commentedon Apr 6, 2020
PR #252 would also close this issue by removing the file_name argument
eedorenko commentedon Apr 8, 2020
Fixed by #252