bug: remove StrEnum references.

This commit is contained in:
Brett Rowan
2024-05-17 21:00:43 -06:00
parent 189deae3d1
commit be8633185d
3 changed files with 39 additions and 12 deletions

View File

@@ -14,10 +14,10 @@
# limitations under the License. -
# ------------------------------------------------------------------------------
from enum import StrEnum
from enum import Enum
class MinerMake(StrEnum):
class MinerMake(str, Enum):
WHATSMINER = "WhatsMiner"
ANTMINER = "AntMiner"
AVALONMINER = "AvalonMiner"
@@ -25,3 +25,6 @@ class MinerMake(StrEnum):
GOLDSHELL = "Goldshell"
AURADINE = "Auradine"
EPIC = "ePIC"
def __str__(self):
return self.value