transitions
transitions copied to clipboard
Remove trasition fail when state is Enum
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 #162 In this issue, add a feature to remove transitions.
It will remove trasition fail when the source/target is of Enum type, because Enum('source') is not equal to 'source'. This could be confusing otherwise.
I think this situation also needs to be considered.
target_source = source.name if hasattr(source, 'name') else source if source != "*" else ""
target_dest = dest.name if hasattr(dest, 'name') else dest if dest != "*" else ""