Help Center/
ModelArts/
SDK Reference/
Data Management/
Managing Dataset Versions/
Obtaining a Dataset Version List
Updated on 2024-06-12 GMT+08:00
Obtaining a Dataset Version List
Obtain a list of dataset versions.
dataset.list_versions()
Sample Code
Obtain a dataset version list.
from modelarts.session import Session from modelarts.dataset import Dataset session = Session() dataset = Dataset(session, dataset_id) version_list = dataset.list_versions() print(version_list) # Print the dataset version list.
Parameters
None
Parent topic: Managing Dataset Versions
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.