Skip to content

Commit 628b11e

Browse files
committed
merged
2 parents 1277268 + ac4f814 commit 628b11e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎README.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ stream-python is a Python client for `Stream <https://getstream.io/>`_.
1818
1919
# Get activities from 5 to 10 (slow pagination)
2020
result = user_feed_1.get(limit=5, offset=5)
21-
# (Recommended) Use the faster pk_lt type of pagination
22-
result = user_feed_1.get(limit=5, pk_lt=112334)
21+
# (Recommended & faster) Filter on an id less than 112334
22+
result = user_feed_1.get(limit=5, id_lt=112334)
2323
2424
# Create a new activity
2525
activity_data = {'actor': 1, 'verb': 'tweet', 'object': 1}

0 commit comments

Comments
 (0)