We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
consume()
pika-stubs/pika-stubs/adapters/blocking_connection.pyi
Lines 143 to 150 in 361dc1a
This returns a generator that yields tuple(pika.spec.Basic.Deliver, pika.spec.BasicProperties, bytes) so it should be:
tuple(pika.spec.Basic.Deliver, pika.spec.BasicProperties, bytes)
typing.Iterator[tuple(pika.spec.Basic.Deliver, pika.spec.BasicProperties, bytes)]
The text was updated successfully, but these errors were encountered:
Opened #4 to fix this.
Sorry, something went wrong.
blocking_connection: Fix consume() return type
a9dd0fb
Fixes hahow#3. Signed-off-by: Anders Kaseorg <[email protected]>
Successfully merging a pull request may close this issue.
pika-stubs/pika-stubs/adapters/blocking_connection.pyi
Lines 143 to 150 in 361dc1a
This returns a generator that yields
tuple(pika.spec.Basic.Deliver, pika.spec.BasicProperties, bytes)
so it should be:The text was updated successfully, but these errors were encountered: