Skip to content

Commit fc9a9e6

Browse files
committed
fix: Removing TypeAlias usage as its 3.10+
1 parent 38d4ec8 commit fc9a9e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

statemachine/state.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from typing import TYPE_CHECKING
22
from typing import Any
33
from typing import Dict
4-
from typing import TypeAlias
54
from weakref import ref
65

76
from .callbacks import CallbackMetaList
@@ -116,7 +115,8 @@ class State:
116115
117116
"""
118117

119-
Builder: TypeAlias = NestedStateBuilder
118+
class Builder(metaclass=NestedStateFactory):
119+
pass
120120

121121
def __init__(
122122
self,

0 commit comments

Comments
 (0)