Azure / Azure/MachineLearningNotebooks

Get access to the source information of a FileDataset

未关闭
#1,005 11 条评论 0 个 reaction 已指派 1 人 已被 @MayMSFT 认领 在 GitHub 查看
ADO Data4ML product-gap product-question
主要语言
Jupyter Notebook
星标
4.4k
派生
2.6k
PR 合并指标
30 天内没有已合并 PR

描述

Hello all,

I would like to get access to the source information of a FileDataset.
If you consider the following code:

```python
ds = ws.datasets['myfiledataset']
print(str(ds))
```

Then there is an output like the following:
```
FileDataset
{
"source": [
"('datastorename', 'container/folder/')"
],
"definition": [
"GetDatastoreFiles"
],
"registration": {
"id": "66882",
"name": "dataset_name",
"version": 1,
"workspace": "Workspace.create(name='', subscription_id='', resource_group='')"
}
}
```

Is there a documented & supported way to get access to that source information (the data store name and the folder on that location)? I want to reference the FileDataset and build a `DataReferenceConfiguration` object out of it (where I need the `datastore_name` and the `path_on_datastore`)

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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