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

Model Validation for Membership Addition #1

Open
Helithumper opened this issue Aug 19, 2023 · 0 comments
Open

Model Validation for Membership Addition #1

Helithumper opened this issue Aug 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Helithumper
Copy link
Contributor

on https://github.com/HackUCF/OnboardLite/blob/main/util/approve.py#L62, there's a massive structure to essentially validate a new user.

This is what the pydantic models are for so we can create a new model object with the provided data and then slap a https://docs.pydantic.dev/latest/usage/validators/ on that

@jeffreydivi jeffreydivi added the enhancement New feature or request label Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants