pypath.internals.license.LicenseFeature§
- class pypath.internals.license.LicenseFeature(level)[source]§
Bases:
objectMethods
__init__(level)check_level(level)Checks of
levelis a valid key for theenables(other)ensure_int(other)int_to_level(i)Returns a set of labels corresponding to the level nearest to the integer
ion the ordinal scale of levels.level_to_int(level)Return the value for the key
levelas an integer on the ordinal scale of the levels.to_int()Returns the value of the current level of this license feature as an integer on the ordinal scale of levels.
unknown_warning(value)Attributes
int_levelslevelsname- classmethod int_to_level(i)[source]§
Returns a set of labels corresponding to the level nearest to the integer
ion the ordinal scale of levels.