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
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly