Files
2024-02-15 17:01:50 +00:00

10 lines
343 B
Python

from typing_extensions import Self
from amqp.channel import Channel
class Connection:
def __init__(self, host: str = ..., userid: str | None = ..., password: str | None = ..., virtual_host: str = ...) -> None: ...
def __enter__(self) -> Self: ...
def __exit__(self, *a: object) -> None: ...
def channel(self) -> Channel: ...