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 38d4ec8 commit fc9a9e6Copy full SHA for fc9a9e6
1 file changed
statemachine/state.py
@@ -1,7 +1,6 @@
1
from typing import TYPE_CHECKING
2
from typing import Any
3
from typing import Dict
4
-from typing import TypeAlias
5
from weakref import ref
6
7
from .callbacks import CallbackMetaList
@@ -116,7 +115,8 @@ class State:
116
115
117
"""
118
119
- Builder: TypeAlias = NestedStateBuilder
+ class Builder(metaclass=NestedStateFactory):
+ pass
120
121
def __init__(
122
self,
0 commit comments