Coverage for kwai/modules/identity/tasks.py: 100%
5 statements
« prev ^ index » next coverage.py v7.3.0, created at 2023-09-05 17:55 +0000
« prev ^ index » next coverage.py v7.3.0, created at 2023-09-05 17:55 +0000
1"""Module that lists all tasks of the identity module."""
2from kwai.modules.identity.user_invitations.user_invitation_events import (
3 UserInvitationCreatedEvent,
4)
5from kwai.modules.identity.user_invitations.user_invitation_tasks import (
6 email_user_invitation_task,
7)
8from kwai.modules.identity.user_recoveries.user_recovery_events import (
9 UserRecoveryCreatedEvent,
10)
11from kwai.modules.identity.user_recoveries.user_recovery_tasks import (
12 email_user_recovery_task,
13)
15tasks = {
16 UserRecoveryCreatedEvent: email_user_recovery_task,
17 UserInvitationCreatedEvent: email_user_invitation_task,
18}