Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
benvanbasten-ns committed Nov 26, 2024
1 parent 31da8d5 commit dad6b44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions threedigrid/admin/structure_controls/models.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from enum import Enum, StrEnum
from enum import Enum
from typing import List


Expand All @@ -8,7 +8,7 @@ class StructureControlTypes(Enum):
timed_control = "timed_control"


class StructureControlSourceTypes(StrEnum):
class StructureControlSourceTypes(str, Enum):
LINES = "lines"
NODES = "nodes"
PUMPS = "pumps"
Expand Down

0 comments on commit dad6b44

Please sign in to comment.