Skip to content

Commit 752661a

Browse files
committed
Move StrEnum to models
This commit moves `StrEnum` to models to prevent future cyclic import.
1 parent 5dd2fa8 commit 752661a

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

aishell/models/language_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from enum import auto
22

3-
from aishell.utils import StrEnum
3+
from .str_enum import StrEnum
44

55

66
class LanguageModel(StrEnum):
File renamed without changes.

aishell/utils/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
from .make_executable_command import make_executable_command as make_executable_command
2-
from .str_enum import StrEnum as StrEnum

0 commit comments

Comments
 (0)