mirror of
https://github.com/Andre0512/pyhOn.git
synced 2024-12-22 18:55:32 +00:00
Update requirements
This commit is contained in:
parent
8a46bd4b53
commit
2a74000ff3
|
@ -72,12 +72,10 @@ class HonAppliance:
|
||||||
return self.info[item]
|
return self.info[item]
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
def get(self, item: str, default: None = None) -> Any:
|
def get(self, item: str, default: None = None) -> Any: ...
|
||||||
...
|
|
||||||
|
|
||||||
@overload
|
@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:
|
def get(self, item: str, default: Optional[T] = None) -> Any:
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -14,8 +14,7 @@ if TYPE_CHECKING:
|
||||||
class Callback(Protocol): # pylint: disable=too-few-public-methods
|
class Callback(Protocol): # pylint: disable=too-few-public-methods
|
||||||
def __call__(
|
def __call__(
|
||||||
self, url: str | URL, *args: Any, **kwargs: Any
|
self, url: str | URL, *args: Any, **kwargs: Any
|
||||||
) -> aiohttp.client._RequestContextManager:
|
) -> aiohttp.client._RequestContextManager: ...
|
||||||
...
|
|
||||||
|
|
||||||
|
|
||||||
Parameter = Union[
|
Parameter = Union[
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
aiohttp>=3.8
|
aiohttp>=3.8.6
|
||||||
yarl>=1.8
|
yarl>=1.8
|
||||||
typing-extensions>=4.8
|
typing-extensions>=4.8
|
||||||
|
|
4
setup.py
4
setup.py
|
@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as f:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pyhOn",
|
name="pyhOn",
|
||||||
version="0.15.15",
|
version="0.15.16",
|
||||||
author="Andre Basche",
|
author="Andre Basche",
|
||||||
description="Control hOn devices with python",
|
description="Control hOn devices with python",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
|
@ -21,7 +21,7 @@ setup(
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
python_requires=">=3.10",
|
python_requires=">=3.10",
|
||||||
install_requires=["aiohttp>=3.8", "typing-extensions>=4.8", "yarl>=1.8"],
|
install_requires=["aiohttp>=3.8.6", "typing-extensions>=4.8", "yarl>=1.8"],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
|
|
Loading…
Reference in a new issue