GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: fix types on server and bidi streaming callables by dpcollins-google · Pull Request #641 · googleapis/gapic-generator-python

This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Conversation

@dpcollins-google

@dpcollins-google dpcollins-google commented Oct 8, 2020

Copy link
Copy Markdown
Contributor

The return type is an Awaitable that produces an AsyncIterator.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

anguillanneuf reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@dpcollins-google
fix: Fix types on server and bidi streaming callables
355f21a
@dpcollins-google
dpcollins-google requested review from a team October 8, 2020 20:22
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 8, 2020
@dpcollins-google
fix: Fix imports
e27b9a3
@codecov

codecov Bot commented Oct 8, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #641 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #641   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           26        26           
  Lines         1538      1538           
  Branches       310       310           
=========================================
  Hits          1538      1538           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 517118c...e27b9a3. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lidizheng
lidizheng approved these changes Oct 8, 2020
View reviewed changes

@lidizheng lidizheng left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This PR fixes a type annotation error I made. For bidi streaming calls, the asyncio application needs to explicitly invoke await to obtain the AsyncIterable responses (see example). This await is used to establish connection to peer, so the retry can happen immediately instead of being postponed till the first message read. LGTM.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
software-dov
software-dov approved these changes Oct 8, 2020
View reviewed changes
@software-dov software-dov changed the title fix: Fix types on server and bidi streaming callables fix: fix types on server and bidi streaming callables Oct 8, 2020
@software-dov
software-dov merged commit d92c202 into googleapis:master Oct 8, 2020
This was referenced Jan 18, 2022
chore(master): release reverted #1133
Merged
chore(master): release 0.39.1 #1146
Closed
This was referenced Jan 26, 2022
chore(main): release 0.39.1 #1160
Closed
chore(main): release 0.39.1 #1162
Closed
chore(main): release 0.61.0 #1163
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@software-dov software-dov software-dov approved these changes
@lidizheng lidizheng lidizheng approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@dpcollins-google @software-dov @lidizheng
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.