Querying Details About a Dataset Version
Obtain details about a dataset version based on the version ID.
dataset.get_version_info(version_id)
Sample Code
from modelarts.session import Session from modelarts.dataset import Dataset session = Session() dataset = Dataset(session, dataset_id) version_info = dataset.get_version_info(version_id="cSPuXPgnYp7ObRs6LaR") print(version_info) # Print details about the dataset version.
Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
version_id |
Yes |
String |
Dataset version ID |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.