reykit 1.1.86__py3-none-any.whl → 1.1.88__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/rschedule.py +4 -4
- reykit/rtask.py +6 -6
- {reykit-1.1.86.dist-info → reykit-1.1.88.dist-info}/METADATA +1 -1
- {reykit-1.1.86.dist-info → reykit-1.1.88.dist-info}/RECORD +7 -7
- {reykit-1.1.86.dist-info → reykit-1.1.88.dist-info}/WHEEL +0 -0
- {reykit-1.1.86.dist-info → reykit-1.1.88.dist-info}/licenses/LICENSE +0 -0
reykit/rbase.py
CHANGED
reykit/rschedule.py
CHANGED
@@ -162,7 +162,7 @@ class Schedule(Base):
|
|
162
162
|
with self.database.connect() as conn:
|
163
163
|
conn = self.database.connect()
|
164
164
|
conn.execute.insert(
|
165
|
-
|
165
|
+
self.db_names['base.schedule'],
|
166
166
|
data
|
167
167
|
)
|
168
168
|
id_ = conn.insert_id()
|
@@ -182,7 +182,7 @@ class Schedule(Base):
|
|
182
182
|
'status': 2
|
183
183
|
}
|
184
184
|
self.database.execute.update(
|
185
|
-
|
185
|
+
self.db_names['base.schedule'],
|
186
186
|
data
|
187
187
|
)
|
188
188
|
raise
|
@@ -194,7 +194,7 @@ class Schedule(Base):
|
|
194
194
|
'status': 1
|
195
195
|
}
|
196
196
|
self.database.execute.update(
|
197
|
-
|
197
|
+
self.db_names['base.schedule'],
|
198
198
|
data
|
199
199
|
)
|
200
200
|
|
@@ -375,7 +375,7 @@ class Schedule(Base):
|
|
375
375
|
|
376
376
|
def build_db(self) -> None:
|
377
377
|
"""
|
378
|
-
Check and build
|
378
|
+
Check and build database tables, by `self.db_names`.
|
379
379
|
"""
|
380
380
|
|
381
381
|
# Check.
|
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
|
@@ -11,18 +11,18 @@ reykit/rnum.py,sha256=VKICD64mEfiStAGWaxg3kzQjf7TTqiSBNe9LCpM9MLo,3623
|
|
11
11
|
reykit/ros.py,sha256=J6YxNbOceMhHwVKDugx5Wd-KFliRtlhFEVVcCAaE_So,47847
|
12
12
|
reykit/rrand.py,sha256=fiwxyUMaLtFjPanVwTOiwvEEucmf0t2WiZF9ul9o6pU,8572
|
13
13
|
reykit/rre.py,sha256=1qva7xatKVE9qC2j7IujjXSM59qxHWwTYpiizFFQ8Xo,6024
|
14
|
-
reykit/rschedule.py,sha256=
|
14
|
+
reykit/rschedule.py,sha256=y4piG8DT3TpE9jVI18UWvk-caXT7S409_vxetYOJ-jw,14603
|
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.88.dist-info/METADATA,sha256=PLpH6blUhMWNniLSSZe-157zDF6c7gYG2BaGGsqSnNM,1872
|
26
|
+
reykit-1.1.88.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
27
|
+
reykit-1.1.88.dist-info/licenses/LICENSE,sha256=UYLPqp7BvPiH8yEZduJqmmyEl6hlM3lKrFIefiD4rvk,1059
|
28
|
+
reykit-1.1.88.dist-info/RECORD,,
|
File without changes
|
File without changes
|