Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions google/cloud/ndb/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def ranked(cls, rank):
return cls.query(cls.rank == rank).order(cls.age)

for emp in Employee.seniors(42, 5):
print emp.name, emp.age, emp.rank
print(emp.name, emp.age, emp.rank)

The 'in' operator cannot be overloaded, but is supported through the IN()
method. For example::
Expand Down Expand Up @@ -133,7 +133,7 @@ def ranked(cls, rank):
it = query1.iter()
while (yield it.has_next_async()):
emp = it.next()
print emp.name, emp.age
print(emp.name, emp.age)
"""

import functools
Expand Down