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
- Build failed
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
- Other DateTime Columns Are Saved Incorre...
When opening a row’s details from the console and editing any field, the timestamps of other DateTime columns are being automatically changed and incorrectly sa...
- GOT 500 error when going to the appwrite...
I gott 500 internal error screen and my API is timeout. please help to take a look. Traceback (most recent call last): File "D:\conda\envs\wrista\Lib\site-pa...