File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
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):
446
446
db = firestore_v1.Client()
447
447
collection_ref = db.collection(u'users')
448
448
449
- def on_snapshot(collection_snapshot):
449
+ def on_snapshot(collection_snapshot, changes, read_time ):
450
450
for doc in collection_snapshot.documents:
451
451
print(u'{} => {}'.format(doc.id, doc.to_dict()))
452
452
Original file line number Diff line number Diff line change @@ -512,7 +512,7 @@ def on_snapshot(self, callback):
512
512
db = firestore_v1.Client()
513
513
collection_ref = db.collection(u'users')
514
514
515
- def on_snapshot(document_snapshot):
515
+ def on_snapshot(document_snapshot, changes, read_time ):
516
516
doc = document_snapshot
517
517
print(u'{} => {}'.format(doc.id, doc.to_dict()))
518
518
You can’t perform that action at this time.
0 commit comments