Azure / Azure/MachineLearningNotebooks

"datastore.upload_files" is deprecated after version 1.0.69

未关闭
#1,672 6 条评论 7 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
4.4k
派生
2.6k
PR 合并指标
30 天内没有已合并 PR

描述

In `azureml-core 1.37.0.post1`, we have gotten the warning message like the below:
```
"datastore.upload_files" is deprecated after version 1.0.69. Please use "FileDatasetFactory.upload_directory" instead. See Dataset API change notice at https://aka.ms/dataset-deprecation.
```

It seems that the URL points to [this page](https://github.com/Azure/MachineLearningNotebooks/blob/b05ff80e9dfc3d1a38031e9e701ebed841760463/how-to-use-azureml/work-with-data/dataset-api-change-notice.md), but there is no information for migration.

`datastore.upload_files` could specify files as a list explicitly even if the directory contains the file we don't want to upload like credential data, the file which contains personal data before processing, and so on.

How to use `FileDatasetFactory.upload_directory` as same as `datastore.upload_files`?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。