mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
Add missing context manager stub for JACK Client (#6982)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user