Calling a group/chunks vs using .apply_async #8830
Unanswered
MajorDallas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the Canvas page of the docs, it says:
This seems straightforward enough. I was curious what exactly happens differently under the hood, so I looked up the
__call__
andapply_async
methods ongroup
andchunks
, but I've found that both class's__call__
methods simply callapply_async
without changing any of the options that get passed through. In other words, it appears that__call__
is little more than a shortcut toapply_async
and there should be no difference at all between starting a group/chunks with one or the other.Are the docs incorrect? Perhaps this was true in the past? Or maybe I'm missing something in how one method routes to the current process while the other routes to the task queue..?
Beta Was this translation helpful? Give feedback.
All reactions