py_research.enums module
Documentation-friendly enum classes.
-
class StrEnum(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]
Bases: LowercaseStrEnum
StrEnum which renders only its value in a string context.
-
classmethod parse(value)[source]
Parse a string into a StrEnum of proper type.
- Parameters:
value (str) –
- Return type:
Self