Skip to content

Commit 1047ccd

Browse files
change in document of on_snapshot method of collection class
1 parent ff41fee commit 1047ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/google/cloud/firestore_v1/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)