Skip to content

Commit

Permalink
Fix type of frame in channel cancel callback
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney authored Jul 2, 2023
1 parent ccde5ce commit 1882c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pika-stubs/channel.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ _OnBasicConsumeCallback = Callable[[frame.Method[spec.Basic.ConsumeOk]], None]
_OnBasicGetCallback = Callable[[Channel, spec.Basic.GetOk, spec.BasicProperties, bytes], None]
_OnBasicRecoverCallback = Callable[[frame.Method[spec.Basic.RecoverOk]], None]
_OnBasicQosCallback = Callable[[frame.Method[spec.Basic.QosOk]], None]
_OnBasicCancelCallback = Callable[[frame.Method[spec.Basic.CancelOk]], None]
_OnBasicCancelCallback = Callable[[frame.Method[spec.Basic.Cancel]], None]
_OnCloseCallback = Callable[[Channel, Exception], None]
_OnExchangeBindCallback = Callable[[frame.Method[spec.Exchange.BindOk]], None]
_OnExchangeDeclareCallback = Callable[[frame.Method[spec.Exchange.DeclareOk]], None]
Expand Down

0 comments on commit 1882c38

Please sign in to comment.