Is it possible list subcollections of a document using python? It seems that google documentation is discordant
Here they say that get collections method is not available in the Python client library:
https://firebase.google.com/docs/firestore/query-data/get-data#python_6
Here they say that class collections() list subcollections:
https://googleapis.dev/python/firestore/latest/document.html
So I try something like:
collnameref = db.collection(collname)
docs = collnameref.stream()
for doc in docs:
print (doc.collections())
but it doesn't work.