-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
AioJSONParser can't read the initial response from the stream #872
Comments
will look asap |
Thanks! Here is the stacktrace:
|
unfortunately can't use moto for testing since they don't support the required methods. oo man, this is going to require several patches and increase our footprint even more :( |
Merged
Merged
@bashalex want to try the linked PR? |
Wow, that was rapid! Let me check it out. |
It works now, thanks for the quick resolution! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The library fails to read (seems like any) Stream response.
In particular,
AioJSONParser
fails to read the initial response from the stream.When
AioJSONParser.parse()
is called, internally it calls_handle_event_stream()
which tries to call theget_initial_response()
method of theAioEventStream
which expectedly fails to executenext(self._event_generator)
since it is an Async Generator.To reproduce, you can call the
subscribe_to_shard()
method of the Kinesis client:Environment:
The text was updated successfully, but these errors were encountered: