Skip to content

Commit

Permalink
docs: add documentation for documentsnapshot class (#263)
Browse files Browse the repository at this point in the history
* docs: add documentation for documentsnapshot class

* chore: drop superseded docs fix

See PR #278.

Co-authored-by: Tres Seaver <tseaver@palladion.com>
Co-authored-by: Christopher Wilcox <crwilcox@google.com>
  • Loading branch information
3 people committed Feb 5, 2021
1 parent 7243827 commit 448c965
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/firestore_v1/document.py
Expand Up @@ -455,7 +455,7 @@ def on_snapshot(self, callback: Callable) -> Watch:
provided callback is run on the snapshot.
Args:
callback(Callable[[:class:`~google.cloud.firestore.document.DocumentSnapshot`], NoneType]):
callback(Callable[[:class:`~google.cloud.firestore_v1.base_document.DocumentSnapshot`], NoneType]):
a callback to run when a change occurs
Example:
Expand Down

0 comments on commit 448c965

Please sign in to comment.