8000 Refactoring Database Code by hiranya911 · Pull Request #66 · firebase/firebase-admin-python · GitHub
[go: up one dir, main page]

Skip to content

Refactoring Database Code #66

8000
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

Merged
merged 4 commits into from
Aug 28, 2017
Merged

Refactoring Database Code #66

merged 4 commits into from
Aug 28, 2017

Conversation

hiranya911
Copy link
Contributor
  • Updated docstrings.
  • Extracted the HTTP client code into a separate helper module (_http_client). Right now only db module is using it. In the future _user_mgt can also use the same.
  • Fixed the return value order of get_if_changed() and set_if_unchanged() methods.
  • Updated test cases.

Note: While testing this I also uncovered what looks like a bug in the REST API (A 304 response to a conditional read, leaves the HTTP connection in an inconsistent state). I have made a comment about this in the corresponding integration test, and temporarily disabled it. I'm working with the REST API team on a separate thread to get it resolved.

This is a follow up to #59

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.

2 participants
0