Coverage for src/kwai/modules/identity/user_recoveries/user_recovery_events.py: 100%
7 statements
« prev ^ index » next coverage.py v7.6.10, created at 2024-01-01 00:00 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2024-01-01 00:00 +0000
1"""Module that defines all user recovery events."""
3from dataclasses import dataclass
4from typing import ClassVar
6from kwai.core.events.event import Event, EventMeta
9@dataclass(kw_only=True, frozen=True)
10class UserRecoveryCreatedEvent(Event):
11 """Event that is raised when a user recovery is created."""
13 meta: ClassVar[EventMeta] = EventMeta(
14 module="identity", name="user_recovery.created"
15 )
16 uuid: str