Skip to content

[pika] Complete adapters - #16073

Merged
srittau merged 3 commits into
python:mainfrom
donbarbos:pika-update2
Jul 22, 2026
Merged

[pika] Complete adapters#16073
srittau merged 3 commits into
python:mainfrom
donbarbos:pika-update2

Conversation

@donbarbos

Copy link
Copy Markdown
Contributor

Related: #9246
(Annotations were taken from baudrate/types-pika and the library itself with some modifications)

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment thread stubs/pika/METADATA.toml Outdated
Co-authored-by: Sebastian Rittau <sebastian.rittau@zfutura.de>
@github-actions

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

zulip (https://github.com/zulip/zulip)
+ zerver/lib/queue.py:286: error: Argument "on_open_error_callback" to "ExceptionFreeTornadoConnection" has incompatible type "Callable[[Connection, str | Exception], None]"; expected "Callable[[Connection, BaseException], object] | None"  [arg-type]
+ zerver/lib/queue.py:287: error: Argument "on_close_callback" to "ExceptionFreeTornadoConnection" has incompatible type "Callable[[Connection, Exception], None]"; expected "Callable[[Connection, BaseException], object] | None"  [arg-type]

@srittau
srittau merged commit a057272 into python:main Jul 22, 2026
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants