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
In the current implementation, we're only looking at the __dict__ of the user's provided WorkerSettings class, which can be quite misleading if you're trying to get a large multi-queue system set up. The on_startup/on_shutdown hooks are similarly only allowed to be plain functions or @staticmethod, but not @classmethod because those aren't directly callable.
In the current implementation, we're only looking at the
__dict__
of the user's providedWorkerSettings
class, which can be quite misleading if you're trying to get a large multi-queue system set up. Theon_startup
/on_shutdown
hooks are similarly only allowed to be plain functions or@staticmethod
, but not@classmethod
because those aren't directly callable.Example of things that could work naturally:
The text was updated successfully, but these errors were encountered: