MethodMixin¶
- class neophile.inventory.version.MethodMixin¶
Bases:
abc.ABCAbstract methods for versions.
Methods Summary
from_str(string)Parse a string into a version.
is_valid(string)Return whether a version string is a valid version.
Methods Documentation
- abstract classmethod from_str(string: str) neophile.inventory.version.ParsedVersion¶
Parse a string into a version.
- Parameters
string (
str) – The version as a string.- Returns
version – The parsed version.
- Return type