In python im running this line: from appwrite import query
database = Databases(client).list_documents(database_id= 'xxx', collection_id= 'xxx', queries= query.select(['thread_content' , 'USER_ID', '$createdAt', 'likes', 'dislikes', 'Money_earnt'])).orderDesc('$createdAt')
I get an error : module 'appwrite.query' has no attribute 'select' I'm using the next js python fast api template so i'm not sure how to check the python dependancies as everything runs on node terminal. But this is an issue. I've seen other posts suggesting to update the appwrite package. Not sure how to do that using next js with python backend. It says atm in the pacakge.json file that i have appwrite ^14.0.0 downloaded- (on the python or node js side i dont know). Help please
Recommended threads
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- Upgrading selfhost version?
It is okay to upgrade version to higher one, of my current version is 1.7.4 to 1.8.1. Is that safe to do cause my clients already have data on that? Also is a...