from enum import Enum class YesNoEnum(str, Enum): YES = "yes" NO = "no" class OnOffEnum(str, Enum): ON = "on" OFF = "off" class UnitEnum(str, Enum): KiB = "KiB" MiB = "MiB" GiB = "GiB" TiB = "TiB"