worker_init_handler
Prints a confirmation message to the console when a Celery worker process is initialized.
def worker_init_handler(
sender: object,
**kwargs: dict
) - > null
Handles the Celery worker_init signal to perform initialization tasks when a worker process starts.
Parameters
| Name | Type | Description |
|---|---|---|
| sender | object | The sender of the signal, typically the Celery worker instance. |
| **kwargs | dict | Additional keyword arguments passed by the Celery signal dispatcher. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned by this signal handler. |