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
- Does 1.9.0 Self Hosted have MongoDB Atla...
I have been playing with the new 1.9.0 update and I am really excited for the MongoDB support. I wanted to ask though if at the current time Appwrite supports b...
- {"code": 1008, "message": "Invalid Origi...
Nothing has changed in my application or console settings so I'm curious as to what I need to do to fix this. I already have the client registered so I'm not en...
- NEW ERROR Invalid document structure: At...
Error: ```AppwriteException: document_invalid_structure, Invalid document structure: Attribute "pb.kmsgxPkgInfo.id_info" must be an array (400)``` I’m encounter...