Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Use pydantic for covjson model#91

Draft
C-Loftus wants to merge 2 commits intomainfrom
pydanticCovjson
Draft

Use pydantic for covjson model#91
C-Loftus wants to merge 2 commits intomainfrom
pydanticCovjson

Conversation

@C-Loftus
Copy link
Member

@C-Loftus C-Loftus commented Mar 26, 2025

Change the covjson returned from rise to use covjson pydantic instead of a typeddict

@C-Loftus
Copy link
Member Author

Blocked on KNMI/covjson-pydantic#23 since you can't monkey patch an enum in Python to my knowledge (or at least not in a way that passed pydantic validation)

@C-Loftus C-Loftus marked this pull request as draft March 31, 2025 15:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant