We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I get TypeError missing a required argument: 'user_pk', where user_pk is the last argument of the task:
TypeError missing a required argument: 'user_pk'
user_pk
@shared_task(bind=True, base=Singleton, unique_on=["some_pk"], lock_expiry=15 * 60, acks_late=True) def do_stuff(self, some_pk, user_pk): # ...
The bug is in:
celery_singleton/singleton.py in generate_lock at line 64 bound = sig.bind(*task_args, **task_kwargs).arguments
The text was updated successfully, but these errors were encountered:
Any workaround found so far?
Sorry, something went wrong.
No branches or pull requests
I get
TypeError missing a required argument: 'user_pk'
, whereuser_pk
is the last argument of the task:The bug is in:
The text was updated successfully, but these errors were encountered: