You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the Issue Tracker that this hasn't already been reported. (+1 or comment there if it has.)
Motivation
Current decorator implementation will change all functions to Action instances during module loading. This implementation is waste of time and counter normal python rules (The decorators shouldn't modify function behavior), which will confuse new contributors.
Solution
Change the decorator behavior to register rather than directly change the original function behavior
Mark old action decorator as deprecated
Use an object-oriented way to manage actions
Additional context
No response
The text was updated successfully, but these errors were encountered:
Required prerequisites
Motivation
Current decorator implementation will change all functions to
Action
instances during module loading. This implementation is waste of time and counter normal python rules (The decorators shouldn't modify function behavior), which will confuse new contributors.Solution
Additional context
No response
The text was updated successfully, but these errors were encountered: