]> git.graph-it.com Git - graphit/controlpi.git/commitdiff
Bugfix: Readd BusException to __init__.py v0.4.1
authorBenjamin Braatz <bb@bbraatz.eu>
Tue, 31 Mar 2026 09:29:06 +0000 (11:29 +0200)
committerBenjamin Braatz <bb@bbraatz.eu>
Tue, 31 Mar 2026 09:31:21 +0000 (11:31 +0200)
controlpi/__init__.py
setup.py

index 155beccf6ab94498fa7bd90c0d120aba3d3ae3be..5c82c778c3e90891c37a593481721121144d2560 100644 (file)
@@ -14,12 +14,23 @@ boilerplate code.
 import asyncio
 import fastjsonschema
 
-from controlpi.messagebus import MessageBus, Message, MessageTemplate
+from controlpi.messagebus import MessageBus, BusException, Message, MessageTemplate
 from controlpi.pluginregistry import PluginRegistry
 from controlpi.baseplugin import BasePlugin, PluginConf, ConfException
 
 from typing import Dict, List, Coroutine, Any
 
+__all__ = [
+    "MessageBus",
+    "BusException",
+    "Message",
+    "MessageTemplate",
+    "PluginRegistry",
+    "BasePlugin",
+    "PluginConf",
+    "ConfException",
+    "run",
+]
 
 CONF_SCHEMA = {"type": "object", "patternProperties": {".*": {"type": "object"}}}
 
index abd0834c1afd51df8e1b505c5dbc2d5ce846a886..2d662177813c07fce2e2e985f08db24236b68123 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@ with open("README.md", "r") as readme_file:
 
 setuptools.setup(
     name="controlpi",
-    version="0.4.0",
+    version="0.4.1",
     author="Graph-IT GmbH",
     author_email="info@graph-it.com",
     description="Control-Pi Infrastructure",