Merge mqtt backend and plugin #320

Merged
blacklight merged 21 commits from 315/merge-mqtt-backend-and-plugin into master 2023-09-17 02:51:48 +02:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 2e004c1a1e - Show all commits

View File

@ -12,6 +12,7 @@ from typing import Callable, Dict, Generator, Optional, Type, Union
from platypush.backend import Backend
from platypush.config import Config
from platypush.plugins import Plugin, action
from platypush.message import Message
from platypush.message.event import Event
from platypush.message.response import Response
from platypush.utils import (
@ -314,7 +315,8 @@ class InspectPlugin(Plugin):
{
get_plugin_name_by_class(cls): dict(plugin)
for cls, plugin in self._components_cache.get(Plugin, {}).items()
}
},
cls=Message.Encoder,
)
@action