Coverage for kwai/modules/identity/user_recoveries/user_recovery_events.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.3.0, created at 2023-09-05 17:55 +0000

1"""Module that defines all user recovery events.""" 

2from dataclasses import dataclass 

3from typing import ClassVar 

4 

5from kwai.core.events.event import Event, EventMeta 

6 

7 

8@dataclass(kw_only=True, frozen=True) 

9class UserRecoveryCreatedEvent(Event): 

10 """Event that is raised when a user recovery is created.""" 

11 

12 meta: ClassVar[EventMeta] = EventMeta(name="identity.user_recovery.created") 

13 uuid: str