mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Update pre-commit hooks (#401)
* Update pre-commit hooks * Fix implicit optionals
This commit is contained in:
@@ -31,7 +31,7 @@ class _DiscoverProtocol(asyncio.DatagramProtocol):
|
||||
def __init__(
|
||||
self,
|
||||
*,
|
||||
on_discovered: OnDiscoveredCallable = None,
|
||||
on_discovered: Optional[OnDiscoveredCallable] = None,
|
||||
target: str = "255.255.255.255",
|
||||
discovery_packets: int = 3,
|
||||
interface: Optional[str] = None,
|
||||
|
Reference in New Issue
Block a user