asyncactor 0.26.2__tar.gz → 0.26.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {asyncactor-0.26.2 → asyncactor-0.26.4}/PKG-INFO +1 -1
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/backend/moat_kv.py +1 -5
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/backend/moat_link.py +2 -2
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor.egg-info/PKG-INFO +1 -1
- {asyncactor-0.26.2 → asyncactor-0.26.4}/.coveragerc +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/.gitignore +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/.pylintrc +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/.readthedocs.yml +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/.style.yapf +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/.travis.yml +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/CHANGELOG.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/LICENSE +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/Makefile +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/README.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/__init__.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/abc.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/actor.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/backend/__init__.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/backend/mqtt.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/backend/mqttproto.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/backend/serf.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/events.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/exceptions.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/messages.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor/nodelist.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor.egg-info/SOURCES.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor.egg-info/dependency_links.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor.egg-info/requires.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/asyncactor.egg-info/top_level.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/ci/rtd-requirements.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/ci/test-requirements.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/ci/travis.sh +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/docs/Makefile +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/docs/make.bat +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/docs/source/_static/.git_empty +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/docs/source/actor.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/docs/source/conf.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/docs/source/history.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/docs/source/index.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/docs/source/rationale.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/mktag +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/pyproject.toml +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/setup.cfg +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/tests/__init__.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/tests/mock_serf.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/tests/test_actor.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/tests/test_mosquitto.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/tests/test_mqttproto.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/tests/test_serf.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.4}/tox.ini +0 -0
|
@@ -15,8 +15,6 @@ if TYPE_CHECKING:
|
|
|
15
15
|
|
|
16
16
|
from typing import Self
|
|
17
17
|
|
|
18
|
-
import msgpack
|
|
19
|
-
|
|
20
18
|
|
|
21
19
|
class MoatKVTransport(Transport):
|
|
22
20
|
"Transport"
|
|
@@ -31,7 +29,6 @@ class MoatKVTransport(Transport):
|
|
|
31
29
|
|
|
32
30
|
async def send(self, payload):
|
|
33
31
|
"send message"
|
|
34
|
-
payload = msgpack.packb(payload, use_bin_type=True)
|
|
35
32
|
await self.conn.send(*self.topic, payload=payload)
|
|
36
33
|
|
|
37
34
|
def __repr__(self):
|
|
@@ -54,8 +51,7 @@ class MoatKVMonitor(MonitorStream, CtxObj):
|
|
|
54
51
|
|
|
55
52
|
async def __anext__(self):
|
|
56
53
|
msg = await self._it.__anext__()
|
|
57
|
-
|
|
58
|
-
return msg
|
|
54
|
+
return msg.payload
|
|
59
55
|
|
|
60
56
|
def __repr__(self):
|
|
61
57
|
return f"<Mon:{self.transport}>"
|
|
@@ -21,7 +21,7 @@ if TYPE_CHECKING:
|
|
|
21
21
|
from typing import Self
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
class
|
|
24
|
+
class MQTTProtoTransport(Transport):
|
|
25
25
|
"""
|
|
26
26
|
MQTTProto Transport for AsyncActor.
|
|
27
27
|
"""
|
|
@@ -74,4 +74,4 @@ class MQTTMonitor(MonitorStream, CtxObj):
|
|
|
74
74
|
return f"<Mon:{self.transport}>"
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
Transport =
|
|
77
|
+
Transport = MQTTProtoTransport
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|