(self, callback=None, *, before_plugins=False)
return self._make_hook_decorator("before_worker_start", before_plugins, callback)
Decorator to register a function to be called before the worker starts up

        See `on_start()`
Decorator to register a function to be called before the worker starts up
Decorator to register a function to be called before the worker starts up
def before_worker_start(self, callback=None, *, before_plugins=False):
        """Decorator to register a function to be called before the worker starts up

        See `on_start()`
        """
        return self._make_hook_decorator("before_worker_start", before_plugins, callback)
def before_worker_start ( self , callback = None , * , before_plugins = False ) : return self . _make_hook_decorator ( "before_worker_start" , before_plugins , callback )