xworkflows
xworkflows copied to clipboard
Python "state machine" module
I had an issue when upgrading to Django 3.2, probably because of the memory isolation of `setUpTestData` objects. The issue was that I had a `StateWrapper` instead of a `State`...
Hi, With the following use case: ``` python class Parent(xworkflows.WorkflowEnabled): @xworkflows.transition() def accept(self): # Default behaviour class Child(Parent): @xworkflows.transition() def accept(self): if child_condition: # Child behaviour return super(Child, self).accept() child...
Hello, Is there any way to define a transition for the initial state? Thanks.
Hello, I was about to use Xworkflows in my project, with its native support for Django. But once implemented, I discovered a limitation that I cannot overcome: the same event...
Hi I've been experimenting with 'pausing' a workflow so that it might be resumed at a later time (and possibly a different machine). The workflow moves between transitions normally when...
Depending on the actual state of the object, it would be convenient to be able to chose the transition to apply.
Is there a way to add some methods / function to know if a state is available from another state. What if this method returns None or the available transition...
When generating a user interface with as many submit buttons as available transitions, we miss this feature