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

fix: Fix typehint on AsyncDocumentReference.get() - #649

Merged
Mariatta merged 4 commits into
googleapis:mainfrom
jyasskin:patch-1
Nov 10, 2022
Merged

Mariatta merged 4 commits into
googleapis:mainfrom
jyasskin:patch-1

Conversation

@jyasskin

@jyasskin jyasskin commented Oct 7, 2022 •

Copy link
Copy Markdown
Contributor

Neither of the return statements is a call to an async function.

Fixes #627

@jyasskin
jyasskin requested review from a team October 7, 2022 04:59
@product-auto-label product-auto-label Bot added size: xs Pull request size is extra small. api: firestore Issues related to the googleapis/python-firestore API. labels Oct 7, 2022
@Mariatta Mariatta changed the title AsyncDocumentReference.get() only returns 1 level of coroutine. fix: Fix typehint on AsyncDocumentReference.get() Nov 10, 2022
@Mariatta

Copy link
Copy Markdown
Contributor

Thanks for the PR! This will fix issue #627

There were lint errors due to unused imports. Can you please address those?

@Mariatta Mariatta left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove unused imports so lint will pass.

@jyasskin
jyasskin requested a review from Mariatta November 10, 2022 02:58
@Mariatta Mariatta added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 10, 2022
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 10, 2022
@Mariatta
Mariatta merged commit a8d79c8 into googleapis:main Nov 10, 2022
@Mariatta

Copy link
Copy Markdown
Contributor

Thanks!

@jyasskin
jyasskin deleted the patch-1 branch November 10, 2022 04:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: firestore Issues related to the googleapis/python-firestore API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect typing on AsyncDocumentReference.get

2 participants