Comments (6)
@YPCrumble thanks for your question. Currently there's no built-in support for parallel states as described by scxml.
I think that supporting this will be a nice improvement. That being said, I think that will require breaking changes to the API.
I'm starting to think about this and compound states, let me know if you wanna help. What do you think that the solution should looks like? How a parallel state should be expressed in code?
from python-statemachine.
Great. May we move stalled issues to "projects" tab, yes?
from python-statemachine.
@fgmacedo thanks for your update! I ended up going with flags on my model and rolling my own state machine but it wasn't an ideal solution. I'm not 100% sure how I would implement - the fact that two parallel processes can happen at separate times makes it difficult to imagine implementing without storing whether the first of the parallel processes has happened already somewhere...that's where I got stuck.
from python-statemachine.
I play the role of GitHub-bot to say this issue stalled for so long (since Mar 16 2021). It is highly recommended, not to say preemptive, to close this issue if no further issues are related to it.
from python-statemachine.
It's old but still worth it.
Please don't play this role of "Github-bot" @brunolnetto. It's not needed as the number of issues is relatively small.
from python-statemachine.
Closing as it's not a documentation issue. We need to add support for composed/parallel states to achieve this.
from python-statemachine.
Related Issues (20)
- Incompatible with spy wrapper from pytest-mock HOT 3
- Add automation (GH action) to publish a new version on pypi HOT 1
- Simple question HOT 10
- Generate the code from PlantUML diagrams HOT 2
- Type annotations missing for `initial_state` and `final_states`; leading to linting errors with Pylint/Pyright HOT 3
- Expensive instantiation of StateMachine HOT 3
- AttributeError: object has no attribute 'model' HOT 3
- Enable Multithreading HOT 2
- [Feature request] State machine based workflow for database storage on entity state tracking HOT 1
- Action callback gets called twice when mixing definition methods HOT 1
- Check that all state transitions can reach a final state. HOT 6
- Execute a state machine from another state machine HOT 1
- Guards and conditions passed as strings really necessary? HOT 6
- ROS2, state transition not possible HOT 2
- Send a state machine over MQTT / serializing-deserializing a SM HOT 6
- Question: How can I use cond functions to gatekeep, but not fail? HOT 5
- Failed to generate a graphic image HOT 2
- Models instantiated in Djangos setUpTestData seem to skip conditions HOT 5
- @<transition>.cond decorator bug, general question about running code on every transition even if TransitionNotAllowed is raised HOT 3
- Persistence, timeouts, and branching conditionals? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-statemachine.