moat-kv 0.70.20__py3-none-any.whl → 0.70.22__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/client.py +2 -2
- moat/kv/runner.py +1 -1
- {moat_kv-0.70.20.dist-info → moat_kv-0.70.22.dist-info}/METADATA +18 -18
- {moat_kv-0.70.20.dist-info → moat_kv-0.70.22.dist-info}/RECORD +9 -9
- {moat_kv-0.70.20.dist-info → moat_kv-0.70.22.dist-info}/WHEEL +1 -1
- {moat_kv-0.70.20.dist-info → moat_kv-0.70.22.dist-info}/LICENSE +0 -0
- {moat_kv-0.70.20.dist-info → moat_kv-0.70.22.dist-info}/LICENSE.APACHE2 +0 -0
- {moat_kv-0.70.20.dist-info → moat_kv-0.70.22.dist-info}/LICENSE.MIT +0 -0
- {moat_kv-0.70.20.dist-info → moat_kv-0.70.22.dist-info}/top_level.txt +0 -0
moat/kv/client.py
CHANGED
@@ -246,7 +246,7 @@ class StreamedRequest:
|
|
246
246
|
async def __anext__(self):
|
247
247
|
try:
|
248
248
|
res = await self.qr.get()
|
249
|
-
except (anyio.EndOfStream, anyio.ClosedResourceError):
|
249
|
+
except (anyio.EndOfStream, anyio.ClosedResourceError, EOFError):
|
250
250
|
raise StopAsyncIteration
|
251
251
|
except CancelledError:
|
252
252
|
raise StopAsyncIteration # just terminate
|
@@ -274,7 +274,7 @@ class StreamedRequest:
|
|
274
274
|
async def cancel(self):
|
275
275
|
try:
|
276
276
|
await self.qr.put_error(CancelledError())
|
277
|
-
except (anyio.BrokenResourceError, anyio.ClosedResourceError):
|
277
|
+
except (anyio.BrokenResourceError, anyio.ClosedResourceError, EOFError):
|
278
278
|
pass
|
279
279
|
else:
|
280
280
|
try:
|
moat/kv/runner.py
CHANGED
@@ -120,7 +120,6 @@ for _c in (
|
|
120
120
|
CompleteState,
|
121
121
|
ActorState,
|
122
122
|
BrokenState,
|
123
|
-
NotGiven,
|
124
123
|
TimerMsg,
|
125
124
|
ReadyMsg,
|
126
125
|
ChangeMsg,
|
@@ -130,6 +129,7 @@ for _c in (
|
|
130
129
|
):
|
131
130
|
_CLASSES[_c.__name__] = _c
|
132
131
|
|
132
|
+
_CLASSES["NotGiven"] = NotGiven # ellipsis
|
133
133
|
|
134
134
|
class CallAdmin:
|
135
135
|
"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: moat-kv
|
3
|
-
Version: 0.70.
|
3
|
+
Version: 0.70.22
|
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
|
@@ -24,25 +24,25 @@ Description-Content-Type: text/x-rst
|
|
24
24
|
License-File: LICENSE
|
25
25
|
License-File: LICENSE.APACHE2
|
26
26
|
License-File: LICENSE.MIT
|
27
|
-
Requires-Dist: PyNaCl
|
28
|
-
Requires-Dist: anyio
|
29
|
-
Requires-Dist: asyncactor
|
30
|
-
Requires-Dist: asyncclick
|
31
|
-
Requires-Dist: asyncscope
|
32
|
-
Requires-Dist: asyncserf
|
33
|
-
Requires-Dist: attrs
|
34
|
-
Requires-Dist: jsonschema
|
35
|
-
Requires-Dist: moat-lib-diffiehellman
|
36
|
-
Requires-Dist: moat-mqtt
|
37
|
-
Requires-Dist: moat-util
|
27
|
+
Requires-Dist: PyNaCl>=1.3
|
28
|
+
Requires-Dist: anyio>=4
|
29
|
+
Requires-Dist: asyncactor>=0.24
|
30
|
+
Requires-Dist: asyncclick>7.99
|
31
|
+
Requires-Dist: asyncscope>=0.10.4
|
32
|
+
Requires-Dist: asyncserf>=0.16
|
33
|
+
Requires-Dist: attrs>=22
|
34
|
+
Requires-Dist: jsonschema>=2.5
|
35
|
+
Requires-Dist: moat-lib-diffiehellman~=0.13.1.6
|
36
|
+
Requires-Dist: moat-mqtt~=0.39.4
|
37
|
+
Requires-Dist: moat-util>=0.51.3
|
38
38
|
Requires-Dist: psutil
|
39
|
-
Requires-Dist: range-set
|
40
|
-
Requires-Dist: ruyaml
|
41
|
-
Requires-Dist: simpleeval
|
42
|
-
Requires-Dist: trio
|
43
|
-
Requires-Dist: exceptiongroup
|
39
|
+
Requires-Dist: range-set>=0.2
|
40
|
+
Requires-Dist: ruyaml>=0.89
|
41
|
+
Requires-Dist: simpleeval>=0.9.10
|
42
|
+
Requires-Dist: trio>=0.22
|
43
|
+
Requires-Dist: exceptiongroup; python_version < "3.11"
|
44
44
|
Provides-Extra: dev
|
45
|
-
Requires-Dist: moat-src
|
45
|
+
Requires-Dist: moat-src>=0.5.0; extra == "dev"
|
46
46
|
|
47
47
|
=======
|
48
48
|
MoaT-KV
|
@@ -1,7 +1,7 @@
|
|
1
1
|
moat/kv/__init__.py,sha256=O37OW612tpgM6wOu7x4xXjRC36yPEqVlagrPm54XiMA,473
|
2
2
|
moat/kv/_config.yaml,sha256=hr3FBd85Mzk0UmrFjvFiPLYsLKuezp8MAi6RsSOdCZc,2431
|
3
3
|
moat/kv/_main.py,sha256=2gKcbjL0ilxJiRTttG1LYr3XtbepuL7CWavVUrSUqY0,2266
|
4
|
-
moat/kv/client.py,sha256=
|
4
|
+
moat/kv/client.py,sha256=tZopTW5PC_zToJ5-T6Hmk9qOOWpFByd0iu0bewwUqTI,34975
|
5
5
|
moat/kv/code.py,sha256=80vM87My-0tGi5pSrSyzilDUXkMhQxPjXa-1781-af0,6296
|
6
6
|
moat/kv/codec.py,sha256=g8ob7SGhYaM0KXNy6AXGbCIhd0c8aQUUuwCs3NHtGP8,249
|
7
7
|
moat/kv/config.py,sha256=fLB4vRHuauzmJlLHux6vwnKnn7dIJdKzV8Ize8lNymw,1057
|
@@ -9,7 +9,7 @@ moat/kv/data.py,sha256=XZ4016Enl8pIvjFi2rfsz-j6ZuYle8gALUmNYcVXDbU,6010
|
|
9
9
|
moat/kv/errors.py,sha256=UFIsCZVZSczclwc1V98AyyuWFn-YDuMwLCbFNswdCVw,16669
|
10
10
|
moat/kv/exceptions.py,sha256=ocujmWDhDD5O3R4xbUeYoQCP6Gq98CxR200su7tKSU0,1845
|
11
11
|
moat/kv/model.py,sha256=8VralxKSVg5sYj0FS5uCoaIQCIndVJWtSL4A2dTAd4Y,33497
|
12
|
-
moat/kv/runner.py,sha256=
|
12
|
+
moat/kv/runner.py,sha256=iMquLwlzcYpRT0g4qp02XE_51GoSquHriRHa8zqHsvA,41909
|
13
13
|
moat/kv/server.py,sha256=wrtGiJdzgm2IWFdsA6vcX5ex-bmIfpFCaPRxImMGOB8,95045
|
14
14
|
moat/kv/types.py,sha256=CASTyHTM9QuEu_QqTdV8jekyKwzvHiaNYc4rB9R5kOc,14127
|
15
15
|
moat/kv/actor/__init__.py,sha256=kBF-7eRZnveIlCgfeHvYzY5WYH8mgFus1J3BRBy0D0M,2107
|
@@ -40,10 +40,10 @@ moat/kv/mock/serf.py,sha256=5gYCjV8XHOa4Af9H9sphll4ypOx4By2TKsNmmA4wcEg,7665
|
|
40
40
|
moat/kv/mock/tracer.py,sha256=TNfvdSP-3QFqu4m8UNK0VxLBhKwEAYe0C64Cf0as4Bg,2058
|
41
41
|
moat/kv/obj/__init__.py,sha256=-AyCPFfepS0xsQllnD6o13bs2rewuErWCgkGkE1PWcQ,19654
|
42
42
|
moat/kv/obj/command.py,sha256=2Z3P6-a7emxPoNJoFvfc1362DN26XHEKfWbij-RmDqY,7575
|
43
|
-
moat_kv-0.70.
|
44
|
-
moat_kv-0.70.
|
45
|
-
moat_kv-0.70.
|
46
|
-
moat_kv-0.70.
|
47
|
-
moat_kv-0.70.
|
48
|
-
moat_kv-0.70.
|
49
|
-
moat_kv-0.70.
|
43
|
+
moat_kv-0.70.22.dist-info/LICENSE,sha256=ZSyHhIjRRWNh4Iw_hgf9e6WYkqFBA9Fczk_5PIW1zIs,185
|
44
|
+
moat_kv-0.70.22.dist-info/LICENSE.APACHE2,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
45
|
+
moat_kv-0.70.22.dist-info/LICENSE.MIT,sha256=Pm2uVV65J4f8gtHUg1Vnf0VMf2Wus40_nnK_mj2vA0s,1046
|
46
|
+
moat_kv-0.70.22.dist-info/METADATA,sha256=RzpFd7owLzob5ACj090D0eE7AtAUHQ-od6jZvDB2rMM,3519
|
47
|
+
moat_kv-0.70.22.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
48
|
+
moat_kv-0.70.22.dist-info/top_level.txt,sha256=pcs9fl5w5AB5GVi4SvBqIVmFrkRwQkVw_dEvW0Q0cSA,5
|
49
|
+
moat_kv-0.70.22.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|