Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
This repository was archived by the owner on Aug 30, 2026. It is now read-only.

Python-Firestore API Documentation #262

Closed

Description

@martindufort

Hi,

We are currently integrating Cloud Firestore (using the Python client) into one of our project.

However we have some difficulties grasping all the capabilities because it seems the API documentation here is incomplete.

I have to resort to browsing the GitHub source code to grasp which methods are available to perform a specific behavior.

Example: In the API Documentation there is no reference to class DocumentSnapshot I could find.

Some of the questions, I was asking myself:
How do I get a DocumentReference from a DocumentSnapshot instance ?

I had to browse the class DocumentSnapshot source code and find that the property reference was available for that.

Let me know if I'm not looking at the proper location.
Thanks for your support.

Activity

  1. martindufort commented on Dec 8, 2020

    @martindufort
    Author

    Is the public documentation web page now reflecting all classes ?

  2. HemangChothani commented on Dec 10, 2020

    @HemangChothani
    Contributor

    Yes, i think only DocumentSnapshot class was missing.

  3. tseaver commented on Dec 15, 2020

    @tseaver
    Contributor

    Nope. Please see 9fdad0c (part of PR #279) for other cases where the "async split" left classes undocumented.

  4. martindufort commented on Dec 16, 2020

    @martindufort
    Author
  5. HemangChothani commented on Dec 17, 2020

    @HemangChothani
    Contributor

    @martindufort DocumentSnaphot is added in #263 PR, waiting for merge.

  6. HemangChothani commented on Dec 17, 2020

    @HemangChothani
    Contributor

    @tseaver I was not aware about exposing the documentation of async classes.

  7. martindufort commented on Jan 5, 2021

    @martindufort
    Author

    @martindufort DocumentSnaphot is added in #263 PR, waiting for merge.

    Any timeline in closing this PR ?

  8. 1337SEnergy commented on Jan 28, 2021

    @1337SEnergy

    there seems to be many more issues with the documentation, for example the documentation for DocumentChange says there are document, target_ids and removed_target_ids fields, however from my inspection there are document, old_index, new_index and type fields instead...

    as mentioned by @martindufort, I have to rely on code inspection to fully grasp how this library actually works, as the documentation is of very little help and in a lot of cases seems outdated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api: firestoreIssues related to the googleapis/python-firestore API.documentationImprovements or additions to documentationtype: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions