From e942bd4c65861905f181daf9ca6c8be577bbd279 Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Tue, 31 Mar 2026 11:29:06 +0200 Subject: [PATCH] Bugfix: Readd BusException to __init__.py --- controlpi/__init__.py | 13 ++++++++++++- setup.py | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/controlpi/__init__.py b/controlpi/__init__.py index 155becc..5c82c77 100644 --- a/controlpi/__init__.py +++ b/controlpi/__init__.py @@ -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"}}} diff --git a/setup.py b/setup.py index abd0834..2d66217 100644 --- 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", -- 2.43.0