Skip to content

Commit

Permalink
Switch test Enums to use Enum with mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
d3-steichman committed Jul 14, 2024
1 parent 33145f9 commit 9216a0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flask_parameter_validation/test/enums.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from enum import StrEnum, IntEnum
from enum import Enum


class Fruits(StrEnum):
class Fruits(str, Enum):
APPLE = "apple"
ORANGE = "orange"


class Binary(IntEnum):
class Binary(int, Enum):
ZERO = 0
ONE = 1

0 comments on commit 9216a0b

Please sign in to comment.