Can we get the signature or arguments of a celery task on `task_prerun`
Can we get the signature or arguments of a celery task on `task_prerun` Question: My plan is to log all celery task requests with the arguments they receive s I’m using the following @task_prerun.connect() def log_celery_args(task, **kwargs): logger.info(f"{task.name} {kwargs[‘kwargs’]}", extra=kwargs[‘kwargs’]) The problem is this solution doesn’t work when the functions don’t use named parameters. I …