
databases = Databases(client)
Im receiving an error for this saying that databases is not defined. this code was taken from the SDK for python.

heres the actual code in the SDK
from appwrite.client import Client
client = Client() client.set_endpoint('https://cloud.appwrite.io/v1') # Your API Endpoint client.set_project('5df5acd0d48c2') # Your project ID client.set_session('') # The user session to authenticate with
databases = Databases(client)
result = databases.list_documents( database_id = '<DATABASE_ID>', collection_id = '<COLLECTION_ID>', queries = [] # optional
Recommended threads
- Email Verification Email
Hi everyone, I’m currently experiencing an issue with the email verification functionality. When I trigger the verification, the request returns a valid respon...
- CSV Not Importing
We don’t seem to having any luck importing a simple .csv file. The import function acts like it’s working but no data imports or is shown in the collection The...
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain api.kondri.lt (CNAME pointing to appwrite.network., also tried fra.cloud.appwrite.io with no luck ) but encountering a ...
