We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794398c commit 6fff344Copy full SHA for 6fff344
1 file changed
plugwise_usb/api.py
@@ -2,7 +2,7 @@
2
3
from dataclasses import dataclass
4
from datetime import datetime
5
-from enum import Enum, IntEnum, auto
+from enum import Enum, IntEnum, StrEnum, auto
6
import logging
7
from typing import Any, Protocol
8
@@ -36,7 +36,7 @@ class NodeEvent(Enum):
36
JOIN = auto()
37
38
39
-class NodeFeature(Enum):
+class NodeFeature(StrEnum):
40
"""USB Stick Node feature."""
41
42
AVAILABLE = "available"
0 commit comments