Closed nm-libang closed 1 year ago
Hello @nm-libang,
which version of transitions do you use? This feature has been added in transitions 0.9.0 which has not been published to PyPI yet.
version = '0.8.10'
When do you plan to publish 0.9.0 ??
Hi. When will 0.9.0 be publish?
I'd like to replace the current coveralls setup since it always returns error with parallel builds even when coverage slightly increased. I hope this wont take too much time. I plan to release today or in the next few days.
Version 0.9.0 has been published to PyPI
Thank you for taking the time to report a bug! Your support is essential for the maintenance of this project. Please fill out the following fields to ease bug hunting and resolving this issue as soon as possible:
Describe the bug may_ callbacks are not added automatically
Minimal working example
Expected behavior As described in the documentation If you want to check whether a transition is possible before you execute it ('look before you leap'), you can use may_ convenience functions that have been attached to your model:
check if the current temperature is hot enough to trigger a transition
if lump.may_heat(): lump.heat()
Additional context Add any other context about the problem here.