Commit 5bb70cb8 authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Fix Cursor.items() to use limit parameter.

parent 75aa998c
......@@ -23,7 +23,9 @@ class Cursor(object):
def items(self, limit=0):
"""Return iterator for items in each page"""
return ItemIterator(self.iterator)
i = ItemIterator(self.iterator)
i.limit = limit
return i
class BaseIterator(object):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment