Add missing context manager stub for JACK Client (#6982)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
Lev
2022-01-22 03:57:31 +03:00
committed by GitHub
parent 70e51f6f20
commit 9b5011759f

View File

@@ -1,3 +1,4 @@
from _typeshed import Self
from typing import Any, Callable, Generator, Iterable, Iterator, Sequence, overload
_NDArray = Any # FIXME: no typings for numpy arrays
@@ -50,6 +51,8 @@ class Client:
servername: str | None = ...,
session_id: str | None = ...,
) -> None: ...
def __enter__(self: Self) -> Self: ...
def __exit__(self, *args: object) -> None: ...
@property
def name(self) -> str: ...
@property