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

Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
LevandAkuli authored and GitHub committed 2022-01-21 16:57:31 -08:00
1 parent 70e51f6f20
commit 9b5011759f
1 file changed
+3
+3
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