From dd5a7a3272074be1eb5952d568a55083951794d3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Tue, 15 Jun 2021 09:20:46 -1000 Subject: [PATCH] Set __all__ in zeroconf.aio to ensure private functions do now show in the docs --- zeroconf/aio.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zeroconf/aio.py b/zeroconf/aio.py index 446f6cf0..974a2cb9 100644 --- a/zeroconf/aio.py +++ b/zeroconf/aio.py @@ -33,6 +33,14 @@ from .const import _BROWSER_TIME, _CHECK_TIME, _LISTENER_TIME, _MDNS_PORT, _REGISTER_TIME, _UNREGISTER_TIME +__all__ = [ + "AsyncZeroconf", + "AsyncServiceInfo", + "AsyncServiceBrowser", + "AsyncServiceListener", +] + + class AsyncNotifyListener(NotifyListener): """A NotifyListener that async code can use to wait for events."""