From 86f5372392c07d0040c8a1233580be0c65a46102 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 21 Jun 2022 12:49:10 -0500 Subject: [PATCH 1/3] Update stale docstrings in AsyncZeroconf --- zeroconf/asyncio.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/zeroconf/asyncio.py b/zeroconf/asyncio.py index de7e97dd3..843f8fc36 100644 --- a/zeroconf/asyncio.py +++ b/zeroconf/asyncio.py @@ -132,8 +132,9 @@ class AsyncZeroconf: Supports registration, unregistration, queries and browsing. - The async version is currently a wrapper around the sync version - with I/O being done in the executor for backwards compatibility. + The async version is currently a wrapper around Zeroconf which + is now also async. It is expected that an asyncio event loop + is already running before creating the AsyncZeroconf object. """ def __init__( @@ -145,7 +146,7 @@ def __init__( zc: Optional[Zeroconf] = None, ) -> None: """Creates an instance of the Zeroconf class, establishing - multicast communications, listening and reaping threads. + multicast communications and listening. :param interfaces: :class:`InterfaceChoice` or a list of IP addresses (IPv4 and IPv6) and interface indexes (IPv6 only). From f259751388cec0908649e601df9bb20b4a0060d5 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 21 Jun 2022 12:50:06 -0500 Subject: [PATCH 2/3] Update zeroconf/asyncio.py --- zeroconf/asyncio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeroconf/asyncio.py b/zeroconf/asyncio.py index 843f8fc36..c5c9457b1 100644 --- a/zeroconf/asyncio.py +++ b/zeroconf/asyncio.py @@ -146,7 +146,7 @@ def __init__( zc: Optional[Zeroconf] = None, ) -> None: """Creates an instance of the Zeroconf class, establishing - multicast communications and listening. + multicast communications, and listening. :param interfaces: :class:`InterfaceChoice` or a list of IP addresses (IPv4 and IPv6) and interface indexes (IPv6 only). From 894b90a75acc03d319df73ece24fd9b3e817f5b6 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 21 Jun 2022 13:02:42 -0500 Subject: [PATCH 3/3] bump --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e8abf81e..2d2bce124 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# version: 1.2 +# version: 1.3 .PHONY: all virtualenv MAX_LINE_LENGTH=110