mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Remove unused TypeVars (#68155)
This commit is contained in:
@@ -77,8 +77,6 @@ _T = TypeVar("_T", bound="DlnaDmrEntity")
|
|||||||
_R = TypeVar("_R")
|
_R = TypeVar("_R")
|
||||||
_P = ParamSpec("_P")
|
_P = ParamSpec("_P")
|
||||||
|
|
||||||
Func = TypeVar("Func", bound=Callable[..., Any])
|
|
||||||
|
|
||||||
|
|
||||||
def catch_request_errors(
|
def catch_request_errors(
|
||||||
func: Callable[Concatenate[_T, _P], Awaitable[_R]] # type: ignore[misc]
|
func: Callable[Concatenate[_T, _P], Awaitable[_R]] # type: ignore[misc]
|
||||||
|
@@ -60,7 +60,6 @@ SUPPORT_VLC = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
_T = TypeVar("_T", bound="VlcDevice")
|
_T = TypeVar("_T", bound="VlcDevice")
|
||||||
_R = TypeVar("_R")
|
|
||||||
_P = ParamSpec("_P")
|
_P = ParamSpec("_P")
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user