From 3600880f1b45d90a2cef4851fe301df8b5538f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frieder=20Sch=C3=BCler?= Date: Mon, 17 Jun 2024 11:52:15 +0200 Subject: [PATCH] Add all public API parts to __all__ (#462) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Frieder Schüler --- canopen/__init__.py | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/canopen/__init__.py b/canopen/__init__.py index ee5ff7b5..9bd19b1d 100644 --- a/canopen/__init__.py +++ b/canopen/__init__.py @@ -9,6 +9,19 @@ # package is not installed __version__ = "unknown" -Node = RemoteNode - +__all__ = [ + "Network", + "NodeScanner", + "RemoteNode", + "LocalNode", + "SdoCommunicationError", + "SdoAbortedError", + "import_od", + "export_od", + "ObjectDictionary", + "ObjectDictionaryError", + "BaseNode402", +] __pypi_url__ = "https://pypi.org/project/canopen/" + +Node = RemoteNode