sprocket_bio.grammar.version
- class sprocket_bio.grammar.version.SupportedVersion
Bases:
objectRepresents a supported WDL version.
The
Defaultimplementation of this type returns the most recent fully-supported ratified version of WDL.- class V1(_0)
Bases:
SupportedVersionThe document version is 1.x.
- has_same_major_version(other)
Returns
trueif the other version has the same major version as this one.>>> from sprocket_bio.grammar.version import SupportedVersion, V1 >>> SupportedVersion.V1(V1.ZERO).has_same_major_version(SupportedVersion.V1(V1.TWO)) True