dycw-utilities 0.114.5__py3-none-any.whl → 0.114.7__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.
- {dycw_utilities-0.114.5.dist-info → dycw_utilities-0.114.7.dist-info}/METADATA +1 -1
- {dycw_utilities-0.114.5.dist-info → dycw_utilities-0.114.7.dist-info}/RECORD +7 -7
- utilities/__init__.py +1 -1
- utilities/asyncio.py +4 -4
- utilities/redis.py +2 -2
- {dycw_utilities-0.114.5.dist-info → dycw_utilities-0.114.7.dist-info}/WHEEL +0 -0
- {dycw_utilities-0.114.5.dist-info → dycw_utilities-0.114.7.dist-info}/licenses/LICENSE +0 -0
@@ -1,7 +1,7 @@
|
|
1
|
-
utilities/__init__.py,sha256
|
1
|
+
utilities/__init__.py,sha256=-ANGg4AV-lK1zx4OPl8Bt3ZaulOvLmPCM_JsK1PAoVg,60
|
2
2
|
utilities/altair.py,sha256=Gpja-flOo-Db0PIPJLJsgzAlXWoKUjPU1qY-DQ829ek,9156
|
3
3
|
utilities/astor.py,sha256=xuDUkjq0-b6fhtwjhbnebzbqQZAjMSHR1IIS5uOodVg,777
|
4
|
-
utilities/asyncio.py,sha256=
|
4
|
+
utilities/asyncio.py,sha256=zz8W_35vp3u7N4rRahr82HmBnq6uXWgJe8XW8KgXh6w,21507
|
5
5
|
utilities/atomicwrites.py,sha256=geFjn9Pwn-tTrtoGjDDxWli9NqbYfy3gGL6ZBctiqSo,5393
|
6
6
|
utilities/atools.py,sha256=IYMuFSFGSKyuQmqD6v5IUtDlz8PPw0Sr87Cub_gRU3M,1168
|
7
7
|
utilities/cachetools.py,sha256=C1zqOg7BYz0IfQFK8e3qaDDgEZxDpo47F15RTfJM37Q,2910
|
@@ -58,7 +58,7 @@ utilities/pytest_regressions.py,sha256=-SVT9647Dg6-JcdsiaDKXe3NdOmmrvGevLKWwGjxq
|
|
58
58
|
utilities/python_dotenv.py,sha256=iWcnpXbH7S6RoXHiLlGgyuH6udCupAcPd_gQ0eAenQ0,3190
|
59
59
|
utilities/random.py,sha256=lYdjgxB7GCfU_fwFVl5U-BIM_HV3q6_urL9byjrwDM8,4157
|
60
60
|
utilities/re.py,sha256=5J4d8VwIPFVrX2Eb8zfoxImDv7IwiN_U7mJ07wR2Wvs,3958
|
61
|
-
utilities/redis.py,sha256=
|
61
|
+
utilities/redis.py,sha256=Zf9MVDgwZa3NeZ8XM9MdKgtUXMidfh_avnsb4J_8QOQ,26675
|
62
62
|
utilities/reprlib.py,sha256=Re9bk3n-kC__9DxQmRlevqFA86pE6TtVfWjUgpbVOv0,1849
|
63
63
|
utilities/rich.py,sha256=t50MwwVBsoOLxzmeVFSVpjno4OW6Ufum32skXbV8-Bs,1911
|
64
64
|
utilities/scipy.py,sha256=X6ROnHwiUhAmPhM0jkfEh0-Fd9iRvwiqtCQMOLmOQF8,945
|
@@ -87,7 +87,7 @@ utilities/warnings.py,sha256=un1LvHv70PU-LLv8RxPVmugTzDJkkGXRMZTE2-fTQHw,1771
|
|
87
87
|
utilities/whenever.py,sha256=iLRP_-8CZtBpHKbGZGu-kjSMg1ZubJ-VSmgSy7Eudxw,17787
|
88
88
|
utilities/zipfile.py,sha256=24lQc9ATcJxHXBPc_tBDiJk48pWyRrlxO2fIsFxU0A8,699
|
89
89
|
utilities/zoneinfo.py,sha256=-Xm57PMMwDTYpxJdkiJG13wnbwK--I7XItBh5WVhD-o,1874
|
90
|
-
dycw_utilities-0.114.
|
91
|
-
dycw_utilities-0.114.
|
92
|
-
dycw_utilities-0.114.
|
93
|
-
dycw_utilities-0.114.
|
90
|
+
dycw_utilities-0.114.7.dist-info/METADATA,sha256=jnelg2snp4k8jzWjEF-sP7-Ll4wStToFmbTz07nqgLs,12943
|
91
|
+
dycw_utilities-0.114.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
92
|
+
dycw_utilities-0.114.7.dist-info/licenses/LICENSE,sha256=gppZp16M6nSVpBbUBrNL6JuYfvKwZiKgV7XoKKsHzqo,1066
|
93
|
+
dycw_utilities-0.114.7.dist-info/RECORD,,
|
utilities/__init__.py
CHANGED
utilities/asyncio.py
CHANGED
@@ -400,9 +400,9 @@ class InfiniteLooper(ABC, Generic[THashable]):
|
|
400
400
|
"""Handle any errors upon initializing the looper."""
|
401
401
|
if self.logger is not None:
|
402
402
|
getLogger(name=self.logger).error(
|
403
|
-
"Error initializing %r due to %
|
403
|
+
"Error initializing %r due to %r; sleeping for %s...",
|
404
404
|
get_class_name(self),
|
405
|
-
error,
|
405
|
+
repr(error),
|
406
406
|
self.sleep_restart,
|
407
407
|
)
|
408
408
|
|
@@ -410,9 +410,9 @@ class InfiniteLooper(ABC, Generic[THashable]):
|
|
410
410
|
"""Handle any errors upon running the core function."""
|
411
411
|
if self.logger is not None:
|
412
412
|
getLogger(name=self.logger).error(
|
413
|
-
"Error running
|
413
|
+
"Error running %r due to %r; sleeping for %s...",
|
414
414
|
get_class_name(self),
|
415
|
-
error,
|
415
|
+
repr(error),
|
416
416
|
self.sleep_restart,
|
417
417
|
)
|
418
418
|
|
utilities/redis.py
CHANGED
@@ -648,7 +648,7 @@ _SUBSCRIBE_SLEEP: Duration = MILLISECOND
|
|
648
648
|
|
649
649
|
|
650
650
|
@overload
|
651
|
-
def subscribe(
|
651
|
+
async def subscribe(
|
652
652
|
pubsub: PubSub,
|
653
653
|
channels: MaybeIterable[str],
|
654
654
|
/,
|
@@ -658,7 +658,7 @@ def subscribe(
|
|
658
658
|
sleep: Duration = _SUBSCRIBE_SLEEP,
|
659
659
|
) -> AsyncIterator[_T]: ...
|
660
660
|
@overload
|
661
|
-
def subscribe(
|
661
|
+
async def subscribe(
|
662
662
|
pubsub: PubSub,
|
663
663
|
channels: MaybeIterable[str],
|
664
664
|
/,
|
File without changes
|
File without changes
|