We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ca060 commit 2b2d12bCopy full SHA for 2b2d12b
tests/integration/test_feeds.py
@@ -99,6 +99,19 @@ def test_feed_start_ts(client, a_collection):
99
assert nums == list(range(1, 64))
100
101
102
+def test_page_size_is_retained_across_requests(client, a_collection):
103
+ source = client.query(
104
+ fql("${col}.all().map(.n).toStream()", col=a_collection)).data
105
+ _create_docs(client, a_collection, 0, 15)
106
+
107
+ feed = client.feed(source, FeedOptions(page_size=5))
108
+ page_count = 0
109
+ for page in feed:
110
+ page_count = page_count + 1
111
+ assert len(page) == 5
112
113
+ assert page_count == 3
114
115
def test_feed_cursor(client, a_collection):
116
source = client.query(
117
fql("${col}.all().map(.n).toStream()", col=a_collection)).data
0 commit comments