mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-06-02 23:59:51 -04:00
Update requirements
This commit is contained in:
parent
8a46bd4b53
commit
2a74000ff3
4 changed files with 6 additions and 9 deletions
|
@ -72,12 +72,10 @@ class HonAppliance:
|
|||
return self.info[item]
|
||||
|
||||
@overload
|
||||
def get(self, item: str, default: None = None) -> Any:
|
||||
...
|
||||
def get(self, item: str, default: None = None) -> Any: ...
|
||||
|
||||
@overload
|
||||
def get(self, item: str, default: T) -> T:
|
||||
...
|
||||
def get(self, item: str, default: T) -> T: ...
|
||||
|
||||
def get(self, item: str, default: Optional[T] = None) -> Any:
|
||||
try:
|
||||
|
|
|
@ -14,8 +14,7 @@ if TYPE_CHECKING:
|
|||
class Callback(Protocol): # pylint: disable=too-few-public-methods
|
||||
def __call__(
|
||||
self, url: str | URL, *args: Any, **kwargs: Any
|
||||
) -> aiohttp.client._RequestContextManager:
|
||||
...
|
||||
) -> aiohttp.client._RequestContextManager: ...
|
||||
|
||||
|
||||
Parameter = Union[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue