Skip to content
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

“TypeError: Signal.__init__() got an unexpected keyword argument 'providing_args'” exception with Django 4.0 #24

Open
vilarneto opened this issue May 25, 2022 · 0 comments

Comments

@vilarneto
Copy link

Running ariadne-jwt 0.1.7 with Django 4.0 throws the following exception:

[...]
  File "[...]/python3.10/site-packages/ariadne_jwt/refresh_token/models.py", line 10, in <module>
    from . import managers, signals
  File "[...]/python3.10/site-packages/ariadne_jwt/refresh_token/signals.py", line 3, in <module>
    refresh_token_revoked = Signal(providing_args=['refresh_token'])
TypeError: Signal.__init__() got an unexpected keyword argument 'providing_args'

Indeed the providing_args argument was deprecated in Django 3.1. As this argument is described as “purely documentational” it seems that removing it should be harmless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant