Skip to content

Flesh out full definition of event models, including their complex payloads #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Apr 7, 2025

Conversation

strohganoff
Copy link
Owner

@strohganoff strohganoff commented Apr 7, 2025

  • Flesh out full definition of event models.
  • Create models for payload data in events, whereas previously we simply used type dict[str, Any].
  • Utilize mixins and Pydantic discriminated unions to cut down code repeating as much as possible while maintaining readability.
  • Update the minimum version tag of Pydantic library.

@strohganoff strohganoff force-pushed the feature/fully-defined-event-models branch from d12b240 to 024bfbf Compare April 7, 2025 20:33
@strohganoff strohganoff merged commit 4582bb2 into main Apr 7, 2025
1 check passed
@strohganoff strohganoff deleted the feature/fully-defined-event-models branch April 7, 2025 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant