-
Notifications
You must be signed in to change notification settings - Fork 90
feat: add support for asynchronous rest streaming #686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
4df2120
26f52a5
204920a
2014ef6
fdeb437
8014f47
e84f03a
91f5c13
0c2ee5c
75ae7d7
db7cfb3
9da0113
87eeca3
d6abddd
a6a648d
8d30b2d
0b51b09
7d8f1e1
d793069
5f48f72
70d1cdb
ee3a5ac
5a6e488
f2180da
bc811e5
fc74ae0
1603818
cee06ab
380dedf
750d4cb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,9 @@ class ResponseIterator(BaseResponseIterator): | |
class expected to be returned from an API. | ||
|
||
Raises: | ||
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. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where is this exception raised? Line 46 will succeed with a matching method of any class, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's reasonable to not raise an error for this. We've added the relevant type hints. Cleaned up the docstring. |
||
""" | ||
|
||
def __init__( | ||
|
Uh oh!
There was an error while loading. Please reload this page.