-
Notifications
You must be signed in to change notification settings - Fork 1
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 non-hackers to /participants
endpoint
#366
Conversation
/participants
endpoint
Deploy preview for irvinehacks-site-2024 ready!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some interesting choices, think it could be simplified.
status: Union[Status, Decision] | ||
status: Optional[Union[Status, Decision]] = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question: in what cases would a participant not have a status?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to alter this to fit with non-hackers because there are some non-hackers who haven't signed the waiver yet and therefore don't have a status.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, do you think you could manually assign a status to those who don't? Don't wanna mess too much with entire system right now, so maybe something like REVIEWED
, even though it technically doesn't make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about WAIVER_UNSIGNED
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh never mind, that's not part of Status
. I'll give them REVIEWED
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh i meant the database records, but I suppose this also technically works.
edadd52
to
fb46f06
Compare
fb46f06
to
78c0314
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to unblock, thanks for the patience with the rebase and merge conflict. Will have another conflict with #363.
Resolves #364.
Changes
get_non_hackers
inparticipant_manager
to pull non-hackers from the database/admin/participants
route