Skip to content

Examples with multiple models ie from 1:1 to x:1 on Order and OrderControl #532

@patrickwolf

Description

@patrickwolf

Great example on Order and OrderControl.
https://python-statemachine.readthedocs.io/en/latest/auto_examples/order_control_rich_model_machine.html

Would find it helpful to see how python-statemachine supports users with 2+ orders.
ie does it have to be 1:1 Order & OrderControl or are there patterns for x:1 where there are many models and a single state machine controller that can work with and advance the state on multiple models.

I imagine many run into this and would be great to see a best practices example!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions