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
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this
- How to determine if a user is anonymous?
This is probably a silly question, but I have not yet found a good answer. Is there a method to determine if the current session is anonymous aside from seein...