Uh oh!
There was an error while loading. Please reload this page.
feat: add support for asynchronous rest streaming - #686
Conversation
There was a problem hiding this comment.
Could you "fork" the file you're refactoring from into the file you're refacotring "to", adapting the dirctions in https://devblogs.microsoft.com/oldnewthing/20190919-00/?p=102904 ? It will make it easier to review, and preserve git history for the future.
29d662b to
fdeb437Compare…gleapis/python-api-core into add-support-for-async-rest-streaming
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ohmayr
commented
Aug 24, 2024
I will move |
vchudnov-g
left a comment
There was a problem hiding this comment.
Please address the comments, but no blockers. Thanks for doing this!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| ValueError: If `response_message_cls` is not a subclass of `proto.Message` or `google.protobuf.message.Message`. | ||
| ValueError: | ||
| - If `response_message_cls` is not a subclass of `proto.Message` or `google.protobuf.message.Message`. | ||
| - If `response` is not an instance of `requests.Response`. |
There was a problem hiding this comment.
Where is this exception raised? Line 46 will succeed with a matching method of any class, right?
There was a problem hiding this comment.
I think it's reasonable to not raise an error for this. We've added the relevant type hints. Cleaned up the docstring.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…gleapis/python-api-core into add-support-for-async-rest-streaming
Uh oh!
There was an error while loading. Please reload this page.
This PR adds support for asynchronous rest streaming in core to be leveraged in GAPICs.
The changes in this PR can be tested against: googleapis/google-auth-library-python#1577.