We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff41fee commit 1047ccdCopy full SHA for 1047ccd
firestore/google/cloud/firestore_v1/collection.py
@@ -446,7 +446,7 @@ def on_snapshot(self, callback):
446
db = firestore_v1.Client()
447
collection_ref = db.collection(u'users')
448
449
- def on_snapshot(collection_snapshot):
+ def on_snapshot(collection_snapshot, changes, read_time):
450
for doc in collection_snapshot.documents:
451
print(u'{} => {}'.format(doc.id, doc.to_dict()))
452
0 commit comments