Patrik Lermon
Patrik Lermon
Sure - I was thinking the same, but wanted as few changes to the original code as possible. You wan't me to look into it?
The static code analyzer is tracing the `sm.run()` below to `AddCallbacksMixin.__call__` function. Example code: ``` python from statemachine import State, StateMachine class PylanceWarningStateMachine(StateMachine): init = State(initial=True) running = State() completed...
I've verified and it works beautifully!
That's a good suggestion as well, though I do like the raw beauty of ``` python run = ( ... ) 🤓 ``` If we could get your first fix...
Would it be possible to get this change published you think @fgmacedo ? _Unrelated: I noted that the latest release on github is `2.4.0` (should be `2.5.0`, right?)_