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
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...