AsdfVersionMixin

class asdf.versioning.AsdfVersionMixin[source]

Bases: object

This mix-in is required in order to impose the total ordering that we want for AsdfVersion, rather than accepting the total ordering that is already provided by Version from semantic_version. Defining these comparisons directly in AsdfVersion and applying total_ordering there will not work since total_ordering only defines comparison operations if they do not exist already and the base class Version already defines these operations.