| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
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.
Sorry, something went wrong.
…gleapis/python-api-core into add-support-for-async-rest-streaming
There was a problem hiding this comment.
Looks good!
Sorry, something went wrong.
|
I will move test_rest_streaming_async.py from tests/unit to tests/asyncio which is where we have our async tests once we do not have any other open concerns. |
Sorry, something went wrong.
There was a problem hiding this comment.
Please address the comments, but no blockers. Thanks for doing this!
Sorry, something went wrong.
| 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?
Sorry, something went wrong.
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.
Sorry, something went wrong.
…gleapis/python-api-core into add-support-for-async-rest-streaming
| Back | FazBrowse Home | New Git URL |
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.