Dataset.list_versions

Dataset.list_versions(max_results=None) → list<Version>

Returns an ordered list of versions for the dataset.

Parameters:

max_results : int, default None If specified, will only return up to max_results versions

Returns:

list<Version>

Examples:

dataset = redivis.organization("Demo").dataset("ghcn_daily_weather_data")
versions = dataset.list_versions()

for version in versions:
    # Properties will be populated with the version.list resource definition
    print(version.properties) 

Last updated