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
It's not technically a bug, but current behaviour of a mechanism to run a scheduled function just doesn't seem to be correct. Adding a very subtle, safe looking change can cause scheduled events to fail.
Expected Behavior
Event functions should be required to accept kwargs
Actual Behavior
Params passed to functions are different depending if it has varargs or not
Possible Fix
Make "function" in events deprecated, replace it with "handler" or some other key and add checks to ensure that function is correct.
Context
It's not technically a bug, but current behaviour of a mechanism to run a scheduled function just doesn't seem to be correct. Adding a very subtle, safe looking change can cause scheduled events to fail.
Expected Behavior
Event functions should be required to accept kwargs
Actual Behavior
Params passed to functions are different depending if it has varargs or not
Possible Fix
Make "function" in events deprecated, replace it with "handler" or some other key and add checks to ensure that function is correct.
Steps to Reproduce
Your Environment
n/a
The text was updated successfully, but these errors were encountered: