Skip to content

Conversation

chandra-siri
Copy link

@chandra-siri chandra-siri commented Aug 14, 2025

feat: support for async bidi streaming apis

Further details can be found here

Fixes #834

@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Aug 14, 2025
@chandra-siri chandra-siri marked this pull request as ready for review August 30, 2025 17:13
@chandra-siri chandra-siri requested review from a team as code owners August 30, 2025 17:13
@chandra-siri chandra-siri requested a review from ohmayr September 8, 2025 19:25
chandra-siri added a commit to chandra-siri/python-storage that referenced this pull request Sep 17, 2025
these files will be removed once googleapis/python-api-core#836
gets submitted
chandra-siri added a commit to googleapis/python-storage that referenced this pull request Sep 18, 2025
* Add async bidiRpc files in python-storage

these files will be removed once googleapis/python-api-core#836
gets submitted

* fix import path for bidi_base
Copy link
Contributor

@vchudnov-g vchudnov-g left a comment

Choose a reason for hiding this comment

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

Looks good. I have some small comments, and a bunch of nits. I'll TAL at the test next week.

otherwise open-ended set of requests to send through a request-streaming
(or bidirectional) RPC.
The reason this is necessary is because it lets the user have control on
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider keeping (and clarifying?) the "The reason this is necessary..." paragraph from _RequestQueueGenerator, especially since the next pargraph below also talks about technical details. Or we could put both technical details in comments rather than in the docstring.

WDYT?

Copy link
Author

@chandra-siri chandra-siri Oct 1, 2025

Choose a reason for hiding this comment

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

sure, I've moved this paragraph and next two to class level comments, PTAL and resolve the comments if it looks good.


request_generator.call = call

if hasattr(call, "_wrapped"): # pragma: NO COVER
Copy link
Contributor

Choose a reason for hiding this comment

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

Was the TODO in the original file addressed?

Copy link
Author

Choose a reason for hiding this comment

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

not sure, is there any issue number ? or internal bugId ?

@vchudnov-g
Copy link
Contributor

Adding @daniel-sanche for visibility.

@ohmayr , do you have any remaining concerns with the code?

@chandra-siri
Copy link
Author

Looks good. I have some small comments, and a bunch of nits. I'll TAL at the test next week.

@vchudnov-g Addressed your comments. PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need an async version of Bidi.py
3 participants