Skip to content

feat(models): type notification payloads per notification kind - #222

Draft
kartojal wants to merge 1 commit into
mainfrom
feature/dev-459-type-notification-payloads
Draft

feat(models): type notification payloads per notification kind#222
kartojal wants to merge 1 commit into
mainfrom
feature/dev-459-type-notification-payloads

Conversation

@kartojal

Copy link
Copy Markdown
Contributor

Ports DEV-459 to the Python SDK, mirroring the modeling already merged in ts-sdk.

  • Notification is now a discriminated union of ten per-kind models on a new NotificationType IntEnum, each with a typed payload model instead of payload: Any.
  • owner uses a new ApiKey NewType.

Linear: DEV-459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant