Skip to content
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

feat: add pydantic model for slims records #12

Merged
merged 11 commits into from
Jun 25, 2024
Merged

Conversation

patricklatimer
Copy link
Collaborator

Not sure if this is a desired functionality, but I found it useful when developing the waterlog stuff, and I think it might be a useful pattern to copy for other uses. Thought it would be useful to include as a separate PR even if it's not the direction we're going with this package.

We may want to add methods e.g. for mouse and user to return the json_entity because it seemed like your needs included that. Alternatively we could add the json_entity as an attribute of a model

@patricklatimer patricklatimer marked this pull request as draft June 21, 2024 16:17
@patricklatimer patricklatimer marked this pull request as ready for review June 25, 2024 17:24
@jtyoung84 jtyoung84 merged commit 655ab26 into main Jun 25, 2024
3 checks passed
@jtyoung84 jtyoung84 deleted the feat-pydantic-base branch June 25, 2024 17:48
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.

2 participants