Rank 1: Thread
Hi all,
Can someone provide an example of setting a query limit and using paging or a cursor when retrieving the user list in python?
Votes
0
Replies
5
Participants
Unknown
Messages
6
Rank 1: Thread
Hi all,
Can someone provide an example of setting a query limit and using paging or a cursor when retrieving the user list in python?
It's the same as any of hte other SDKs, but replace the methods with python equivalents (snake case rather than camel case)
Rank 1: Thread
@Steven So where do I specify the query limit when making a call like this in python:
users = Users(client)
result = users.list()
Don't you have some intellisense to tell you what the parameters for the function are?
Or you can look at the source code: https://github.com/appwrite/sdk-for-python/blob/a7e47e4a7ecba11d039b0b4f40c7bc12e661b4ed/appwrite/services/users.py#L9
Also, our docs should list the params in the same order: https://appwrite.io/docs/references/cloud/server-python/users#list