Skip to content

Commit 6af6690

Browse files
committed
fix: Removing TypeAlias usage as its 3.10+
1 parent 7dc2458 commit 6af6690

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

statemachine/state.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from copy import deepcopy
22
from typing import Any
3-
from typing import TypeAlias
43

54
from .callbacks import Callbacks
65
from .exceptions import StateMachineError
@@ -111,7 +110,8 @@ class State:
111110
112111
"""
113112

114-
Builder: TypeAlias = NestedStateBuilder
113+
class Builder(metaclass=NestedStateFactory):
114+
pass
115115

116116
def __init__(
117117
self,

0 commit comments

Comments
 (0)