Skip to content

Commit

Permalink
AsyncDocumentReference.get() only returns 1 level of coroutine.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyasskin authored Oct 7, 2022
1 parent 3bae9ee commit 773da3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/firestore_v1/async_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ async def get(
transaction=None,
retry: retries.Retry = gapic_v1.method.DEFAULT,
timeout: float = None,
) -> Union[DocumentSnapshot, Coroutine[Any, Any, DocumentSnapshot]]:
) -> DocumentSnapshot:
"""Retrieve a snapshot of the current document.
See :meth:`~google.cloud.firestore_v1.base_client.BaseClient.field_path` for
Expand Down

0 comments on commit 773da3a

Please sign in to comment.