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
If an on_startup handler is assigned the result of a method rather than the method itself, _main_loop will prematurely execute, any_filter_thread_present() or self._at_least_one_every will be False, and the keeper will immediately terminate before the Lifecycle instance has been fully configured.
A better behavior would be to type-check the passed parameter to ensure it is a function, raising a ValueError if something unexpected was passed.
The text was updated successfully, but these errors were encountered:
If an
on_startup
handler is assigned the result of a method rather than the method itself,_main_loop
will prematurely execute,any_filter_thread_present() or self._at_least_one_every
will beFalse
, and the keeper will immediately terminate before theLifecycle
instance has been fully configured.A better behavior would be to type-check the passed parameter to ensure it is a function, raising a
ValueError
if something unexpected was passed.The text was updated successfully, but these errors were encountered: