We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb482e9 commit 043d9efCopy full SHA for 043d9ef
google/cloud/firestore_v1/base_collection.py
@@ -128,7 +128,7 @@ def _aggregation_query(self) -> BaseAggregationQuery:
128
def _vector_query(self) -> BaseVectorQuery:
129
raise NotImplementedError
130
131
- def document(self, document_id: Optional[str] = None):
+ def document(self, document_id: Optional[str] = None) -> DocumentReference:
132
"""Create a sub-document underneath the current collection.
133
134
Args:
0 commit comments