moat-kv 0.71.10__py3-none-any.whl → 0.71.12__py3-none-any.whl
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.
- moat/kv/errors.py +4 -1
- moat/kv/server.py +2 -2
- {moat_kv-0.71.10.dist-info → moat_kv-0.71.12.dist-info}/METADATA +2 -2
- {moat_kv-0.71.10.dist-info → moat_kv-0.71.12.dist-info}/RECORD +10 -10
- {moat_kv-0.71.10.dist-info → moat_kv-0.71.12.dist-info}/WHEEL +0 -0
- {moat_kv-0.71.10.dist-info → moat_kv-0.71.12.dist-info}/licenses/LICENSE +0 -0
- {moat_kv-0.71.10.dist-info → moat_kv-0.71.12.dist-info}/licenses/LICENSE.APACHE2 +0 -0
- {moat_kv-0.71.10.dist-info → moat_kv-0.71.12.dist-info}/licenses/LICENSE.MIT +0 -0
- {moat_kv-0.71.10.dist-info → moat_kv-0.71.12.dist-info}/licenses/LICENSE.txt +0 -0
- {moat_kv-0.71.10.dist-info → moat_kv-0.71.12.dist-info}/top_level.txt +0 -0
moat/kv/errors.py
CHANGED
@@ -551,8 +551,11 @@ class ErrorRoot(ClientRoot):
|
|
551
551
|
if rec is not entry:
|
552
552
|
return
|
553
553
|
|
554
|
+
path = entry.path
|
555
|
+
if isinstance(path,list):
|
556
|
+
path=Path.build(path)
|
554
557
|
with contextlib.suppress(KeyError):
|
555
|
-
del (self._done if entry.resolved else self._active)[entry.subsystem][
|
558
|
+
del (self._done if entry.resolved else self._active)[entry.subsystem][path]
|
556
559
|
|
557
560
|
def _push(self, entry):
|
558
561
|
if entry.subsystem is None or entry.path is None:
|
moat/kv/server.py
CHANGED
@@ -635,7 +635,7 @@ class SCmd_msg_monitor(StreamCommand):
|
|
635
635
|
if len(topic) and topic[0][0] == ":":
|
636
636
|
topic = P(self.client.server.cfg.root) + topic
|
637
637
|
|
638
|
-
async with self.client.server.backend.monitor(*topic) as stream:
|
638
|
+
async with self.client.server.backend.monitor(*topic, codec="noop") as stream:
|
639
639
|
async for resp in stream:
|
640
640
|
if hasattr(resp, "topic"):
|
641
641
|
t = resp.topic
|
@@ -1076,7 +1076,7 @@ class ServerClient:
|
|
1076
1076
|
data = msg.raw
|
1077
1077
|
else:
|
1078
1078
|
data = self.codec.encode(msg.data)
|
1079
|
-
await self.server.backend.send(*topic, payload=data)
|
1079
|
+
await self.server.backend.send(*topic, payload=data, codec="noop")
|
1080
1080
|
|
1081
1081
|
async def cmd_delete_tree(self, msg):
|
1082
1082
|
"""Delete a node's value.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: moat-kv
|
3
|
-
Version: 0.71.
|
3
|
+
Version: 0.71.12
|
4
4
|
Summary: A distributed no-master key-value store
|
5
5
|
Author-email: Matthias Urlichs <matthias@urlichs.de>
|
6
6
|
Project-URL: homepage, https://m-o-a-t.org
|
@@ -28,7 +28,7 @@ Requires-Dist: trio>=0.22
|
|
28
28
|
Requires-Dist: anyio>=4
|
29
29
|
Requires-Dist: range_set>=0.2
|
30
30
|
Requires-Dist: attrs>=22
|
31
|
-
Requires-Dist: asyncactor~=0.
|
31
|
+
Requires-Dist: asyncactor~=0.27.0
|
32
32
|
Requires-Dist: asyncscope>=0.10.4
|
33
33
|
Requires-Dist: jsonschema>=2.5
|
34
34
|
Requires-Dist: ruyaml>=0.89
|
@@ -5,11 +5,11 @@ moat/kv/client.py,sha256=qxhhGtfxbcR0MN2dcQzcTga9UBAr9-zRRrMscqeTpVE,34207
|
|
5
5
|
moat/kv/code.py,sha256=QtXHx09Hh9mxSA8m0z1KAFUEDqR0gpTII5g8MlJ8mbI,6427
|
6
6
|
moat/kv/config.py,sha256=cWJ1m8PRwzzapsin1XSDjRtYJCgNN6g7gA9q48luDV8,1093
|
7
7
|
moat/kv/data.py,sha256=85N2W_pDVRgBn7l9AGdDZHvuHrIPGlbxzgXi_3S0DSI,5924
|
8
|
-
moat/kv/errors.py,sha256=
|
8
|
+
moat/kv/errors.py,sha256=VRfX-RY9AI8J5twDMmdKUJn84le88XBgM4x-sc-v8w4,17177
|
9
9
|
moat/kv/exceptions.py,sha256=4gRsYa6kuBy1qFYiBUYElup_cvOe7QgPQtryHAYphzo,1849
|
10
10
|
moat/kv/model.py,sha256=6OZFWK5XlwMlGyRyx964x7qz1FUOxCAVeX3LyS2riPo,33344
|
11
11
|
moat/kv/runner.py,sha256=6vpChgCjiWHAjc2u0bbOOQ8cT5KB-f4uBnQb8MgH9wk,41826
|
12
|
-
moat/kv/server.py,sha256=
|
12
|
+
moat/kv/server.py,sha256=_vwKfPh2ei52fvhvmNByN3I5uY06y_FxHte-l13HGZs,94301
|
13
13
|
moat/kv/types.py,sha256=aCi7_LXzqwruHbEEDJukOjnXNUC2HUaDbgblN8Q05Rc,13998
|
14
14
|
moat/kv/actor/__init__.py,sha256=i560uy9WLE4SmOXWcXKjFKNKZdRR51jOwWg7cSASVRo,2131
|
15
15
|
moat/kv/actor/deletor.py,sha256=F-pb0jHddhmqLp65G7vbZ_QIxXu5ZF0UBzHWKRgN45U,4537
|
@@ -37,11 +37,11 @@ moat/kv/mock/mqtt.py,sha256=b9pzbwQBmTX2eSiSgNO7nh2-7l8-0TT8n2GxinQ-1l0,5213
|
|
37
37
|
moat/kv/mock/tracer.py,sha256=qLEIn9gdlYUypyRYD8O8SbM8ye8XR4xtBl3otP6uNLs,2058
|
38
38
|
moat/kv/obj/__init__.py,sha256=OaQ7PsvvhRhd_H7KUM15nGeApckkCyOv7Xf4llqkzi0,19792
|
39
39
|
moat/kv/obj/command.py,sha256=PzMQOEsXRKjKU3WvFtq1QaPJYBk6oWScKIrA-hAD5vg,7426
|
40
|
-
moat_kv-0.71.
|
41
|
-
moat_kv-0.71.
|
42
|
-
moat_kv-0.71.
|
43
|
-
moat_kv-0.71.
|
44
|
-
moat_kv-0.71.
|
45
|
-
moat_kv-0.71.
|
46
|
-
moat_kv-0.71.
|
47
|
-
moat_kv-0.71.
|
40
|
+
moat_kv-0.71.12.dist-info/licenses/LICENSE,sha256=ZSyHhIjRRWNh4Iw_hgf9e6WYkqFBA9Fczk_5PIW1zIs,185
|
41
|
+
moat_kv-0.71.12.dist-info/licenses/LICENSE.APACHE2,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
42
|
+
moat_kv-0.71.12.dist-info/licenses/LICENSE.MIT,sha256=Pm2uVV65J4f8gtHUg1Vnf0VMf2Wus40_nnK_mj2vA0s,1046
|
43
|
+
moat_kv-0.71.12.dist-info/licenses/LICENSE.txt,sha256=L5vKJLVOg5t0CEEPpW9-O_0vzbP0PEjEF06tLvnIDuk,541
|
44
|
+
moat_kv-0.71.12.dist-info/METADATA,sha256=DMOWh8k6JtdCqRpf-101XrR9qSsJM1xfTORian0_HtY,3377
|
45
|
+
moat_kv-0.71.12.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
46
|
+
moat_kv-0.71.12.dist-info/top_level.txt,sha256=pcs9fl5w5AB5GVi4SvBqIVmFrkRwQkVw_dEvW0Q0cSA,5
|
47
|
+
moat_kv-0.71.12.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|