reykit 1.1.86__py3-none-any.whl → 1.1.87__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.
- reykit/rbase.py +1 -0
- reykit/rtask.py +6 -6
- {reykit-1.1.86.dist-info → reykit-1.1.87.dist-info}/METADATA +1 -1
- {reykit-1.1.86.dist-info → reykit-1.1.87.dist-info}/RECORD +6 -6
- {reykit-1.1.86.dist-info → reykit-1.1.87.dist-info}/WHEEL +0 -0
- {reykit-1.1.86.dist-info → reykit-1.1.87.dist-info}/licenses/LICENSE +0 -0
reykit/rbase.py
CHANGED
reykit/rtask.py
CHANGED
@@ -312,7 +312,7 @@ def async_run(
|
|
312
312
|
*,
|
313
313
|
before: CallableCoroutine | None = None,
|
314
314
|
after: CallableCoroutine | None = None,
|
315
|
-
return_exc:
|
315
|
+
return_exc: Literal[False] = False
|
316
316
|
) -> T: ...
|
317
317
|
|
318
318
|
@overload
|
@@ -320,7 +320,7 @@ def async_run(
|
|
320
320
|
*coroutines: Coroutine[Any, Any, T] | ATask[Any, Any, T] | Callable[[], Coroutine[Any, Any, T]],
|
321
321
|
before: CallableCoroutine | None = None,
|
322
322
|
after: CallableCoroutine | None = None,
|
323
|
-
return_exc:
|
323
|
+
return_exc: Literal[False] = False
|
324
324
|
) -> list[T]: ...
|
325
325
|
|
326
326
|
@overload
|
@@ -338,14 +338,14 @@ def async_run(
|
|
338
338
|
before: CallableCoroutine | None = None,
|
339
339
|
after: CallableCoroutine | None = None,
|
340
340
|
return_exc: Literal[True]
|
341
|
-
) -> list[T
|
341
|
+
) -> list[T | BaseException]: ...
|
342
342
|
|
343
343
|
def async_run(
|
344
344
|
*coroutines: Coroutine[Any, Any, T] | ATask[Any, Any, T] | Callable[[], Coroutine[Any, Any, T]],
|
345
345
|
before: CallableCoroutine | None = None,
|
346
346
|
after: CallableCoroutine | None = None,
|
347
347
|
return_exc: bool = False
|
348
|
-
) -> T | list[T]:
|
348
|
+
) -> T | BaseException | list[T | BaseException]:
|
349
349
|
"""
|
350
350
|
Asynchronous run coroutines.
|
351
351
|
|
@@ -375,7 +375,7 @@ def async_run(
|
|
375
375
|
|
376
376
|
|
377
377
|
# Define.
|
378
|
-
async def async_run_coroutine() -> list[T]:
|
378
|
+
async def async_run_coroutine() -> list[T | BaseException]:
|
379
379
|
"""
|
380
380
|
Asynchronous run coroutines.
|
381
381
|
|
@@ -389,7 +389,7 @@ def async_run(
|
|
389
389
|
await before
|
390
390
|
|
391
391
|
# Gather.
|
392
|
-
results: list[T] = await asyncio_gather(*coroutines, return_exceptions=return_exc)
|
392
|
+
results: list[T | BaseException] = await asyncio_gather(*coroutines, return_exceptions=return_exc)
|
393
393
|
|
394
394
|
# After.
|
395
395
|
if after is not None:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
reykit/__init__.py,sha256=V86CHqPAAVkooVx3_QIOKpDIFVneQCTTSwfJ-uWgBno,788
|
2
2
|
reykit/rall.py,sha256=7Hip02YOkIDm3_xkoSDjvvYV2LhdBV2r4UKzWWnIfIo,628
|
3
|
-
reykit/rbase.py,sha256=
|
3
|
+
reykit/rbase.py,sha256=gT4dcdReki6HTDwCOAieqL3wi7lKUj7OfgiTXWTx_jo,21785
|
4
4
|
reykit/rdata.py,sha256=iOU2_9RCihxrdXswZKvonVMIM-X5-L89WhawGDLHt4w,11361
|
5
5
|
reykit/remail.py,sha256=l4HGKXdfHNBxyBT3YxeZyQhfecbElqTqSAGInwWhap8,6723
|
6
6
|
reykit/rimage.py,sha256=lNN2iMpvSMqh-nPTpxrA9yHy43EA5WoYdxKYhqPwMgk,6154
|
@@ -15,14 +15,14 @@ reykit/rschedule.py,sha256=jy6hxaIugyjSpUdQhPgCuubAZmRzKxHu4Nz3xM8Gid8,14696
|
|
15
15
|
reykit/rstdout.py,sha256=yesWo7wIGablpyAu-2J2Gw11Qp3GdQjGICTyIcvLyt4,8200
|
16
16
|
reykit/rsys.py,sha256=AP62KyN40flCeQJBclfJq8shachSAFT0LkVjiKsXkrw,24946
|
17
17
|
reykit/rtable.py,sha256=UQ-JlwjssMR3gY1iY-VGQEKQ5_BZabpJy6TL7Fx19c4,12200
|
18
|
-
reykit/rtask.py,sha256=
|
18
|
+
reykit/rtask.py,sha256=xPeVQGzRygk062U1vyq2bglgDwxJf51gEJbxgbcGgh8,27108
|
19
19
|
reykit/rtext.py,sha256=cWHy19lDcJvpX7LU95kmRVsDimpAUaz5TbKC1h83gB4,13254
|
20
20
|
reykit/rtime.py,sha256=lsSKaYFmYXlDN18yj2fLVTKSruzgygl8icW6_Fl42Xk,17807
|
21
21
|
reykit/rwrap.py,sha256=G4TL2GWUaW9DrCFRcsnDE1CwgdWeP2PnjQckheRx4p0,15095
|
22
22
|
reykit/rzip.py,sha256=BGEONswuBZxQ-zcgd_xp2fcvYesC9AmKaaXWvnT3bTI,3456
|
23
23
|
reykit/rdll/__init__.py,sha256=nLSb8onBm2ilyoxzpDzUeGfSCKwkLEesIhzK3LiJ8mk,701
|
24
24
|
reykit/rdll/rdll_core.py,sha256=o6-rKcTQgxZQe0kD3GnwyNb3KL9IogzgCQNOmYLMm7A,5086
|
25
|
-
reykit-1.1.
|
26
|
-
reykit-1.1.
|
27
|
-
reykit-1.1.
|
28
|
-
reykit-1.1.
|
25
|
+
reykit-1.1.87.dist-info/METADATA,sha256=OUoXVFoHQkUt-zHsfdOnzWl6RYkflFuxuEqmZqunvE4,1872
|
26
|
+
reykit-1.1.87.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
27
|
+
reykit-1.1.87.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
28
|
+
reykit-1.1.87.dist-info/RECORD,,
|
File without changes
|
File without changes
|