query = db.collection("test") \ .where("is_active", '==', True) \ .where("is_posted", '==', True) \ .order_by("modified", direction=firestore.Query.DESCENDING) \ .limit(10)or
query = (db.collection("test") .where("is_active", '==', True) .where("is_posted", '==', True) .order_by("modified", direction=firestore.Query.DESCENDING) .limit(10))or
query = db.collection("test" ).where("is_active", '==', True ).where("is_posted", '==', True ).order_by("modified", direction=firestore.Query.DESCENDING ).limit(10)This following will cause unexpected indent.
query = db.collection("test") .where("is_active", '==', True) .where("is_posted", '==', True) .order_by("modified", direction=firestore.Query.DESCENDING) .limit(10)