Say I have a celery worker that depends on a large module, X.
Since task definitions require a reference to the worker app def (e.g., @app.task) this implies that my "client" (the code scheduling the task) needs also to depend on this module.
This doesn't make sense to me -- have I got this wrong?
A). I don't want my task caller to have these dependencies (e.g., they might be in different docker containers).
B). For security reasons I don't want my task caller to have access to this code.
Is there a way around it?
Thanks,
RB