Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit a3180b1

Browse files
committed
Fixed batch_size in connection_from_ndb_query
1 parent 330a1c7 commit a3180b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_gae/ndb/fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def connection_from_ndb_query(query, args={}, connection_type=None,
3131

3232
iter = query.iter(produce_cursors=True, start_cursor=start_cursor, batch_size=batch_size, keys_only=keys_only)
3333

34-
page_size = first if first else 10
34+
page_size = first if first else batch_size
3535
edges = []
3636
while len(edges) < page_size:
3737
try:

0 commit comments

Comments
 (0)