-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to pass argument to job queue #194
Comments
I ran your code and found the following error.
I thought it because there is only a function in the queue. So job_func() is job() and need a parameter..
|
I get the same issue when the function has multiple arguments. |
I have a related question: what if I want to pass a list as argument and schedule a job for each item in the list? My attempt:
Unfortunately, this approach run 1 job for all items in the list all together. |
I'm using the following example with a simple modification:
But it always returns a TypeError: job() missing 1 required positional argument: 'msg', can you point me on what i'm missing?
The text was updated successfully, but these errors were encountered: