channel.pyi 288 B

1234567
  1. from typing_extensions import Self
  2. class Channel:
  3. def __enter__(self) -> Self: ...
  4. def __exit__(self, *a: object) -> None: ...
  5. def queue_declare(self, queue: str = ..., passive: bool = ...) -> tuple[str, int, int]: ...
  6. def queue_purge(self, queue: str = ...) -> int: ...