asyncactor 0.26.2__tar.gz → 0.26.3__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.3}/PKG-INFO +2 -3
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/actor.py +2 -2
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/backend/moat_kv.py +0 -4
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/backend/moat_link.py +2 -2
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor.egg-info/PKG-INFO +2 -3
- {asyncactor-0.26.2 → asyncactor-0.26.3}/.coveragerc +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/.gitignore +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/.pylintrc +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/.readthedocs.yml +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/.style.yapf +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/.travis.yml +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/CHANGELOG.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/LICENSE +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/Makefile +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/README.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/__init__.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/abc.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/backend/__init__.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/backend/mqtt.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/backend/mqttproto.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/backend/serf.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/events.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/exceptions.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/messages.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor/nodelist.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor.egg-info/SOURCES.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor.egg-info/dependency_links.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor.egg-info/requires.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/asyncactor.egg-info/top_level.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/ci/rtd-requirements.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/ci/test-requirements.txt +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/ci/travis.sh +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/docs/Makefile +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/docs/make.bat +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/docs/source/_static/.git_empty +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/docs/source/actor.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/docs/source/conf.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/docs/source/history.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/docs/source/index.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/docs/source/rationale.rst +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/mktag +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/pyproject.toml +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/setup.cfg +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/tests/__init__.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/tests/mock_serf.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/tests/test_actor.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/tests/test_mosquitto.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/tests/test_mqttproto.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/tests/test_serf.py +0 -0
- {asyncactor-0.26.2 → asyncactor-0.26.3}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: asyncactor
|
|
3
|
-
Version: 0.26.
|
|
3
|
+
Version: 0.26.3
|
|
4
4
|
Summary: Async decentralized actor
|
|
5
5
|
Author-email: Matthias Urlichs <matthias@urlichs.de>
|
|
6
6
|
Project-URL: homepage, https://github.com/smurfix/asyncactor
|
|
@@ -32,7 +32,6 @@ Requires-Dist: pytest-cov>=2.3; extra == "dev"
|
|
|
32
32
|
Requires-Dist: pytest-trio; extra == "dev"
|
|
33
33
|
Requires-Dist: pytest>=2.5.2; extra == "dev"
|
|
34
34
|
Requires-Dist: trio>=0.23; extra == "dev"
|
|
35
|
-
Dynamic: license-file
|
|
36
35
|
|
|
37
36
|
asyncactor
|
|
38
37
|
==========
|
|
@@ -312,8 +312,8 @@ class Actor(CtxObj):
|
|
|
312
312
|
with each incoming message.
|
|
313
313
|
"""
|
|
314
314
|
if self._send_raw:
|
|
315
|
-
await self.post_event(RawMsgEvent(msg))
|
|
316
|
-
msg = Message.read(msg)
|
|
315
|
+
await self.post_event(RawMsgEvent(msg.payload))
|
|
316
|
+
msg = Message.read(msg.payload)
|
|
317
317
|
if type(msg) is InitMessage and msg.node == self._name:
|
|
318
318
|
if self._self_seen.is_set():
|
|
319
319
|
# We may see our own Init only once.
|
|
@@ -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,7 +51,6 @@ class MoatKVMonitor(MonitorStream, CtxObj):
|
|
|
54
51
|
|
|
55
52
|
async def __anext__(self):
|
|
56
53
|
msg = await self._it.__anext__()
|
|
57
|
-
msg = msgpack.unpackb(msg.payload, raw=False, use_list=False)
|
|
58
54
|
return msg
|
|
59
55
|
|
|
60
56
|
def __repr__(self):
|
|
@@ -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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: asyncactor
|
|
3
|
-
Version: 0.26.
|
|
3
|
+
Version: 0.26.3
|
|
4
4
|
Summary: Async decentralized actor
|
|
5
5
|
Author-email: Matthias Urlichs <matthias@urlichs.de>
|
|
6
6
|
Project-URL: homepage, https://github.com/smurfix/asyncactor
|
|
@@ -32,7 +32,6 @@ Requires-Dist: pytest-cov>=2.3; extra == "dev"
|
|
|
32
32
|
Requires-Dist: pytest-trio; extra == "dev"
|
|
33
33
|
Requires-Dist: pytest>=2.5.2; extra == "dev"
|
|
34
34
|
Requires-Dist: trio>=0.23; extra == "dev"
|
|
35
|
-
Dynamic: license-file
|
|
36
35
|
|
|
37
36
|
asyncactor
|
|
38
37
|
==========
|
|
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
|