We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dc2458 commit 6af6690Copy full SHA for 6af6690
1 file changed
statemachine/state.py
@@ -1,6 +1,5 @@
1
from copy import deepcopy
2
from typing import Any
3
-from typing import TypeAlias
4
5
from .callbacks import Callbacks
6
from .exceptions import StateMachineError
@@ -111,7 +110,8 @@ class State:
111
110
112
"""
113
114
- Builder: TypeAlias = NestedStateBuilder
+ class Builder(metaclass=NestedStateFactory):
+ pass
115
116
def __init__(
117
self,
0 commit comments