Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support guarding ordered transitions with a matching list of conditions #138

Closed
limdauto opened this issue Sep 6, 2016 · 5 comments
Closed

Comments

@limdauto
Copy link

limdauto commented Sep 6, 2016

I made a proof of concept for optionally guarding ordered transitions with a matching list of conditions. #137

I wonder if you are keen to merge it. If yes, I will add unittests and update README.

@aleneum
Copy link
Member

aleneum commented Sep 25, 2016

Hi @limdauto,

I think this is a good idea. I did a review and added some remarks to the condition check. If you are still interested in this feature let me know.

@limdauto
Copy link
Author

Hey @aleneum sorry I've been busy so I forgot about this. I will push an update soon.

@aleneum
Copy link
Member

aleneum commented Sep 26, 2016

No worries, take your time :). We are not in a rush, are we? I just ping people if there has not been activity for two weeks to see if the issue still is valid.

@aleneum
Copy link
Member

aleneum commented Oct 22, 2016

Hello @limdauto,

if you okay with it, I will take your suggestions and adapt it a bit (see my review) so we can close this issue. What do you think?

@limdauto
Copy link
Author

@aleneum hey sorry I forgot again. I don't think I need this feature anymore and it feels very niche to me so I will close the issue and the PR.

aforren1 added a commit to aforren1/transitions that referenced this issue Feb 6, 2017
This adds the args present in add_transition, including:
* conditions
* unless
* before
* after
* prepare
* **kwargs

This allows us to use conditional transitions and callbacks in
ordered transitions. This continues the request in pytransitions#138.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants