Skip to content
ASDF Projects Tutorials Community
Back to top
View this page

# AsdfVersion

class asdf.versioning.AsdfVersion(version)

  Bases: `AsdfVersionMixin`, `Version`

  This class adds features to the existing `Version` class from the `semantic_version` module. Namely, it allows `Version` objects to be constructed from tuples and lists as well as strings, and it allows `Version` objects to be compared with tuples, lists, and strings, instead of just other `Version` objects.

  If any of these features are added to the `Version` class itself (as requested in https://github.com/rbarrois/python-semanticversion/issues/52), then this class will become obsolete.