mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
10 lines
343 B
Python
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: ...
|