import enum # Before Python 3.11 native StrEnum is not available class StrEnum(str, enum.Enum): """A string enum.""" pass