Updated on 2022-11-24 GMT+08:00

Querying a Dataset Import Task List

Obtain a dataset import task list.

dataset.list_import_tasks()

Sample Code

Obtain a dataset import task list.
from modelarts.session import Session
from modelarts.dataset import Dataset
session = Session()

dataset = Dataset(session, dataset_id)
list_tasks_resp = dataset.list_import_tasks()
print(list_tasks_resp) # Print the import task list.

Parameters

None