Help Center/ ModelArts/ SDK Reference/ Data Management/ Managing Export Tasks/ Querying a Dataset Export Task List
Updated on 2022-11-24 GMT+08:00

Querying a Dataset Export Task List

Obtain a dataset export task list.

dataset.list_export_tasks()

Sample Code

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

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

Parameters

None