Back

User Query Limit, Python

  • 0
  • Self Hosted
Phil
24 Oct, 2023, 22:04

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?

TL;DR
The user wants to know how to specify a query limit when retrieving the user list in Python using the Appwrite SDK. They are also looking for an example of using paging or a cursor.
Drake
24 Oct, 2023, 22:31

It's the same as any of hte other SDKs, but replace the methods with python equivalents (snake case rather than camel case)

Phil
25 Oct, 2023, 00:22

@Steven So where do I specify the query limit when making a call like this in python:

users = Users(client) result = users.list()

Drake
25 Oct, 2023, 00:25

Don't you have some intellisense to tell you what the parameters for the function are?

Drake
25 Oct, 2023, 00:27

Also, our docs should list the params in the same order: https://appwrite.io/docs/references/cloud/server-python/users#list

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more