Rank 1: Thread
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