Skip to content

Commit

Permalink
Switch from StrEnum for type compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
notjagan committed Dec 9, 2023
1 parent e32cde2 commit 8c9f6cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vibrio/types.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from dataclasses import dataclass, fields
from enum import StrEnum
from enum import Enum
from typing import Any

from typing_extensions import Self


class OsuMod(StrEnum):
class OsuMod(Enum):
NO_FAIL = "NF"
EASY = "EZ"
TOUCH_DEVICE = "TD"
Expand Down

0 comments on commit 8c9f6cc

Please sign in to comment.