Azure / Azure/MachineLearningNotebooks

Get access to the source information of a FileDataset

Đang mở
#1,005 11 bình luận 0 reaction 1 người được giao Được @MayMSFT nhận Xem trên GitHub
ADO Data4ML product-gap product-question
Ngôn ngữ chính
Jupyter Notebook
Star
4.4k
Fork
2.6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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`)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.