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

✨Add typehints and validation #8

Merged
merged 3 commits into from
Oct 9, 2024
Merged

✨Add typehints and validation #8

merged 3 commits into from
Oct 9, 2024

Conversation

Zethson
Copy link
Member

@Zethson Zethson commented Oct 8, 2024

fixes #6 fixes #7

Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
Copy link

github-actions bot commented Oct 9, 2024

@github-actions github-actions bot temporarily deployed to pull request October 9, 2024 07:54 Inactive
@Zethson Zethson merged commit 58a9892 into main Oct 9, 2024
2 checks passed
@Zethson Zethson deleted the feature/validation branch October 9, 2024 07:57
@falexwolf
Copy link
Member

These type hints are great and so is inheritance from CanValidate.

The only issue is that it's all going to hell if we re-generate the schema based on a new version of the SQL source. 😅

So, we need to automate what you did here just like we automate schema generation if we want to keep this in sync with new versions of OMOP.

FYI @sunnyosun

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.

Cannot validate typehints are missing
2 participants