We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afc9f81 commit c5fe198Copy full SHA for c5fe198
roborock/data/v1/v1_containers.py
@@ -1,7 +1,7 @@
1
import datetime
2
import logging
3
from dataclasses import dataclass, field
4
-from enum import Enum
+from enum import StrEnum
5
from typing import Any
6
7
from roborock.const import (
@@ -92,7 +92,7 @@
92
_LOGGER = logging.getLogger(__name__)
93
94
95
-class FieldNameBase(str, Enum):
+class FieldNameBase(StrEnum):
96
"""A base enum class that represents a field name in a RoborockBase dataclass."""
97
98
0 commit comments