from enum import IntEnum class ArchEnum(IntEnum): i686 = 0 x86_64 = 1 aarch64 = 2 ppc64le = 3 s390x = 4 class BuildTaskEnum(IntEnum): idle = 0 started = 1 completed = 2 failed = 3 excluded = 4