Coverage for src/kwai/modules/identity/user_invitations/user_invitation_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 invitation events."""
3from dataclasses import dataclass
4from typing import ClassVar
6from kwai.core.events.event import Event, EventMeta
9@dataclass(kw_only=True, frozen=True, slots=True)
10class UserInvitationCreatedEvent(Event):
11 """Event raised when a user invitation is created."""
13 meta: ClassVar[EventMeta] = EventMeta(
14 module="identity", name="user_invitation.created"
15 )
16 uuid: str