File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/google-cloud-firestore/google/cloud/firestore_v1 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ def on_snapshot(self, callback):
446446 db = firestore_v1.Client()
447447 collection_ref = db.collection(u'users')
448448
449- def on_snapshot(collection_snapshot):
449+ def on_snapshot(collection_snapshot, changes, read_time ):
450450 for doc in collection_snapshot.documents:
451451 print(u'{} => {}'.format(doc.id, doc.to_dict()))
452452
Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ def on_snapshot(self, callback):
512512 db = firestore_v1.Client()
513513 collection_ref = db.collection(u'users')
514514
515- def on_snapshot(document_snapshot):
515+ def on_snapshot(document_snapshot, changes, read_time ):
516516 doc = document_snapshot
517517 print(u'{} => {}'.format(doc.id, doc.to_dict()))
518518
You can’t perform that action at this time.
0 commit comments