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

Refactor: Database class - remove in-memory data #132

Merged
merged 12 commits into from
Aug 23, 2022

Conversation

angela-tran
Copy link
Member

This PR covers the feedback items in the description of #122:

  • Query for user in check_user which allows us to remove the _user variable that was holding all users in-memory
  • Log the hash being used, and split out conditions in check_user to add logging for each
  • Separate out calculation of matching types from return statement

@angela-tran angela-tran added this to the Courtesy Cards milestone Aug 19, 2022
@angela-tran angela-tran self-assigned this Aug 19, 2022
@angela-tran angela-tran requested a review from a team as a code owner August 19, 2022 23:46
@angela-tran angela-tran force-pushed the refactor/database-class--remove-in-memory-data branch from d60f9ad to f5c1b7e Compare August 20, 2022 00:00
@angela-tran
Copy link
Member Author

This PR makes it easier to accomplish #131

eligibility_server/database.py Outdated Show resolved Hide resolved
eligibility_server/database.py Outdated Show resolved Hide resolved
@angela-tran angela-tran merged commit a78b3b8 into main Aug 23, 2022
@angela-tran angela-tran deleted the refactor/database-class--remove-in-memory-data branch August 23, 2022 16:58
@angela-tran angela-tran changed the title Refactor: Database class - remove in memory data Refactor: Database class - remove in-memory data Aug 23, 2022
@angela-tran angela-tran mentioned this pull request Nov 14, 2022
10 tasks
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.

3 participants