Hi there, In my python function I want to search for an user by email. This is the code I wrote and the imports used.
from appwrite.client import Client
from appwrite.services.users import Users
from appwrite.services.storage import Storage
from appwrite.query import Query
[...]
found_users = users.list([Query.equal("email", mail)])
Now when I run this code I get the following error.
appwrite.exception.AppwriteException: Invalid `queries` param: Invalid query: Invalid query
So far I've primarily written dart functions, so I am a little bit confused what needs to be done differently in python. What am I doing wrong here?
Recommended threads
- Sites Runtimes 1.8.0 Self-Hosting. Flutt...
I have a problem with the Flutter version for SITES RUNTIMES. I use self-hosting and updated to version 1.8.0, which according to the changelog says they updat...
- getFilePreview , getFileView , getFileDo...
I am on Appwrite self hosted 1.8.0 I use the web sdk 21.3.0 I created a bucket and it has this permission (users:create) then i enabled the file security then ...
- Custom Domain Verification Failed
Hi! I woke up to my app not working because of this custom domain verification failed error. I have not moved any DNS configuration since I set it up 3 years ag...