Version
class Version
All datasets on Redivis are versioned. This interface allows you to view detailed information about the version history of a dataset and manage historic versions. However, if you want to get a dataset's contents at a particular version, construct the dataset with the version tag; e.g. user|organization.dataset(name, tag="1.0")
.
Constructors
Dataset.list_versions
([max_results])
Returns the list of all versions of a dataset.
Dataset.version
(tag)
Construct a new version instance based on a specific version tag (e.g., tag=1.0
)
Examples
Attributes
properties
A dict containing the API resource representation of the version. This will be fully populated after calling get(). This will also be partially populated for versions returned via the Dataset.list_versions method.
Methods
Create a new dataset reference representing this particular version.
Delete an unreleased version, or mark an historic version as deleted.
Check whether the version exists.
Fetch the version, populating the properties
attribute on the current instance.
Return the version immediately before this version. If no previous version exists, will return None
.
Return the version immediately after this version. If no next version exists, will return None
.
Last updated