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
- Update from 1.8 to 1.8.1 failing
I have spent the past 2 hours trying to figure this out but I really dont know what to do. 1.8. was a fresh install because the upgrade from 1.7.4 was a total m...
- Realtime not working for some tables
Hi, I've got an issue where I can setup a realtime connection to listen to some tables, but some not all. I have two tables `history` and `users`. Both can be ...
- Broken Appwrite can’t make functions nor...
Hii guys, I was having this issue with my locally hosted Appwrite, I can’t create functions ( both template and manual), I can’t make a custom domain ( like in ...