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

fix: hash snapshots using correct type for 'update_time' #467

Merged
merged 5 commits into from
Oct 8, 2021

Conversation

tseaver
Copy link
Contributor

@tseaver tseaver commented Oct 4, 2021

Document that 'DocumentSnapshot.create_time' and
'DocumentSnapshot.update_time' are instances of
'proto.datetime_helpers.DatetimeWithNanoseconds'.

Closes #398.
Closes #391.

Document that 'DocumentSnapshot.create_time' and
'DocumentSnapshot.update_time' are instances of
'proto.datetime_helpers.DatetimeWithNanoseconds'.

Closes #398.
@tseaver tseaver requested a review from crwilcox October 4, 2021 17:19
@tseaver tseaver requested a review from a team as a code owner October 4, 2021 17:19
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 4, 2021
@product-auto-label product-auto-label bot added the api: firestore Issues related to the googleapis/python-firestore API. label Oct 4, 2021
Its 'utcnow' factory (derived from stdlib 'datetime') skips its '__new__'.
@tseaver tseaver merged commit 5e66a73 into main Oct 8, 2021
@tseaver tseaver deleted the 398-fix-snapshot-hashing branch October 8, 2021 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/python-firestore API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
2 participants