AsdfVersion¶
- class asdf.versioning.AsdfVersion(version)[source]¶
Bases:
AsdfVersionMixin,VersionThis class adds features to the existing
Versionclass from thesemantic_versionmodule. Namely, it allowsVersionobjects to be constructed from tuples and lists as well as strings, and it allowsVersionobjects to be compared with tuples, lists, and strings, instead of just otherVersionobjects.If any of these features are added to the
Versionclass itself (as requested in https://github.com/rbarrois/python-semanticversion/issues/52), then this class will become obsolete.