ez-a-sync 0.22.8__py3-none-any.whl → 0.22.10__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.
Potentially problematic release.
This version of ez-a-sync might be problematic. Click here for more details.
- a_sync/iter.py +6 -3
- {ez_a_sync-0.22.8.dist-info → ez_a_sync-0.22.10.dist-info}/METADATA +1 -1
- {ez_a_sync-0.22.8.dist-info → ez_a_sync-0.22.10.dist-info}/RECORD +6 -6
- {ez_a_sync-0.22.8.dist-info → ez_a_sync-0.22.10.dist-info}/WHEEL +1 -1
- {ez_a_sync-0.22.8.dist-info → ez_a_sync-0.22.10.dist-info}/LICENSE.txt +0 -0
- {ez_a_sync-0.22.8.dist-info → ez_a_sync-0.22.10.dist-info}/top_level.txt +0 -0
a_sync/iter.py
CHANGED
|
@@ -109,8 +109,8 @@ class _AwaitableAsyncIterableMixin(AsyncIterable[T]):
|
|
|
109
109
|
|
|
110
110
|
# format the member docstrings
|
|
111
111
|
for attr_name in dir(cls):
|
|
112
|
-
attr = getattr(cls, attr_name)
|
|
113
|
-
if attr.__doc__ and "{cls}" in attr.__doc__:
|
|
112
|
+
attr = getattr(cls, attr_name, None)
|
|
113
|
+
if attr is not None and attr.__doc__ and "{cls}" in attr.__doc__:
|
|
114
114
|
attr.__doc__ = attr.__doc__.replace("{cls}", f":class:`{cls.__name__}`")
|
|
115
115
|
|
|
116
116
|
return super().__init_subclass__(**kwargs)
|
|
@@ -137,7 +137,10 @@ class ASyncIterable(_AwaitableAsyncIterableMixin[T], Iterable[T]):
|
|
|
137
137
|
self.__wrapped__ = async_iterable
|
|
138
138
|
"The wrapped async iterable object."
|
|
139
139
|
def __repr__(self) -> str:
|
|
140
|
-
|
|
140
|
+
start = f"<{type(self).__name__}"
|
|
141
|
+
if wrapped := getattr(self, "__wrapped__", None):
|
|
142
|
+
start += f" for {self.__wrapped__}"
|
|
143
|
+
return f"{start} at {hex(id(self))}>"
|
|
141
144
|
|
|
142
145
|
def __aiter__(self) -> AsyncIterator[T]:
|
|
143
146
|
"""
|
|
@@ -6,7 +6,7 @@ a_sync/aliases.py,sha256=kkv7JGdlJeyy2x8JauCy3D6spbYBCTMgNtC_QrT118s,213
|
|
|
6
6
|
a_sync/exceptions.py,sha256=0VHUEBgTVmaF8LIuFINCv1YCuC_GfCJgmwnPP3I9HRI,6597
|
|
7
7
|
a_sync/executor.py,sha256=cAlmCeKAw7dIOxeZLozWg69aWyyOvyXmYkraQyK-qDE,12984
|
|
8
8
|
a_sync/future.py,sha256=zQy3Gv1UvX399Yx5-W-ygxYZSS_C3aEhQlEz8gyoB90,26093
|
|
9
|
-
a_sync/iter.py,sha256=
|
|
9
|
+
a_sync/iter.py,sha256=riMXy2RSxmOtgv-L521YSWSTeZ8QXWhc8irU6mjEgkk,20804
|
|
10
10
|
a_sync/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
a_sync/task.py,sha256=FEf788GSKzBCOqjtljlqKlisT5ZyK_kCa-d_-KTSuOc,28213
|
|
12
12
|
a_sync/a_sync/__init__.py,sha256=V93WFLhKbDR9oSegknq6ub-M85HT983eIt_Tov0Reos,1092
|
|
@@ -67,8 +67,8 @@ tests/test_modified.py,sha256=H_Z98JNvy1Ze2Qae6Jgyo1gPqOGycVkwmGutrSmnQmk,247
|
|
|
67
67
|
tests/test_semaphore.py,sha256=pncCO3Y_xus9f85nCPY6Pr4WbUbHpNZNT5tBgwUAbZA,1628
|
|
68
68
|
tests/test_singleton.py,sha256=KGLLWr4eM3PHh_MBDubseTxAaS0r7Bddal2wY-qY4oA,539
|
|
69
69
|
tests/test_task.py,sha256=BpODWsy6I2LAZ4VZ4SGa4R6rly1U10gz0JjIPoW6GrI,7389
|
|
70
|
-
ez_a_sync-0.22.
|
|
71
|
-
ez_a_sync-0.22.
|
|
72
|
-
ez_a_sync-0.22.
|
|
73
|
-
ez_a_sync-0.22.
|
|
74
|
-
ez_a_sync-0.22.
|
|
70
|
+
ez_a_sync-0.22.10.dist-info/LICENSE.txt,sha256=1on6-17OUMlja6vSPTcmlmeT_DwujCZJijYxaplBvZk,1075
|
|
71
|
+
ez_a_sync-0.22.10.dist-info/METADATA,sha256=NUBYU5OALF6SC0HnFk3WkJK-npwzWt0Q2xG2OQyPoAY,533
|
|
72
|
+
ez_a_sync-0.22.10.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
|
73
|
+
ez_a_sync-0.22.10.dist-info/top_level.txt,sha256=GVK_7kp7dgBLeHp84iIQdsJmiXnrXd-5sIf2x0Q-VKc,13
|
|
74
|
+
ez_a_sync-0.22.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|