diff --git a/pika-stubs/spec.pyi b/pika-stubs/spec.pyi index 85d730b..4900d20 100644 --- a/pika-stubs/spec.pyi +++ b/pika-stubs/spec.pyi @@ -667,8 +667,8 @@ class Basic(amqp_object.Class): INDEX: Literal[0x003C0015] NAME: Literal["Basic.ConsumeOk"] - consumer_tag: int | None = ... - def __init__(self, consumer_tag: int | None = ...) -> None: ... + consumer_tag: str | None = ... + def __init__(self, consumer_tag: str | None = ...) -> None: ... @property def synchronous(self) -> bool: ... def decode(self, encoded: bytes, offset: int = ...) -> Basic.ConsumeOk: ... @@ -678,9 +678,9 @@ class Basic(amqp_object.Class): INDEX: Literal[0x003C001E] NAME: Literal["Basic.Cancel"] - consumer_tag: int | None = ... + consumer_tag: str | None = ... nowait: bool = ... - def __init__(self, consumer_tag: int | None = ..., nowait: bool = ...) -> None: ... + def __init__(self, consumer_tag: str | None = ..., nowait: bool = ...) -> None: ... @property def synchronous(self) -> bool: ... def decode(self, encoded: bytes, offset: int = ...) -> Basic.Cancel: ... @@ -690,8 +690,8 @@ class Basic(amqp_object.Class): INDEX: Literal[0x003C001F] NAME: Literal["Basic.CancelOk"] - consumer_tag: int | None = ... - def __init__(self, consumer_tag: int | None = ...) -> None: ... + consumer_tag: str | None = ... + def __init__(self, consumer_tag: str | None = ...) -> None: ... @property def synchronous(self) -> bool: ... def decode(self, encoded: bytes, offset: int = ...) -> Basic.CancelOk: ...