*: remove deprecated providing_args

This commit is contained in:
Jens Langhammer 2020-10-02 11:18:14 +02:00
parent c09b4e9713
commit 55a83abb26
4 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,5 @@
"""passbook core signals""" """passbook core signals"""
from django.core.signals import Signal from django.core.signals import Signal
password_changed = Signal(providing_args=["user", "password"]) # Arguments: user: User, password: str
password_changed = Signal()

View File

@ -1,5 +1,7 @@
"""passbook invitation signals""" """passbook invitation signals"""
from django.core.signals import Signal from django.core.signals import Signal
invitation_created = Signal(providing_args=["request", "invitation"]) # Arguments: request: HttpRequest, invitation: Invitation
invitation_used = Signal(providing_args=["request", "invitation"]) invitation_created = Signal()
# Arguments: request: HttpRequest, invitation: Invitation
invitation_used = Signal()

View File

@ -1,4 +1,5 @@
"""passbook prompt stage signals""" """passbook prompt stage signals"""
from django.core.signals import Signal from django.core.signals import Signal
password_validate = Signal(providing_args=["password", "plan_context"]) # Arguments: password: str, plan_context: Dict[str, Any]
password_validate = Signal()

View File

@ -1,4 +1,5 @@
"""passbook user_write signals""" """passbook user_write signals"""
from django.core.signals import Signal from django.core.signals import Signal
user_write = Signal(providing_args=["request", "user", "data"]) # Arguments: request: HttpRequest, user: User, data: Dict[str, Any]
user_write = Signal()