forked from googleapis/python-ndb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Handle
int
for DateTimeProperty (googleapis#285)
In Datastore, projection queries involving entities with DateTime properties return integer timestamps instead of `datetime.datetime` objects. This fix handles that case and returns `datetime.datetime` objects regardless of the query type. Fixes googleapis#261.
- Loading branch information
Chris Rossi
authored
Jan 9, 2020
1 parent
9478306
commit 2fe5be3
Showing
3 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters