omlish 0.0.0.dev389__py3-none-any.whl → 0.0.0.dev390__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.
- omlish/__about__.py +2 -2
- omlish/lite/maysyncs.py +7 -4
- {omlish-0.0.0.dev389.dist-info → omlish-0.0.0.dev390.dist-info}/METADATA +1 -1
- {omlish-0.0.0.dev389.dist-info → omlish-0.0.0.dev390.dist-info}/RECORD +8 -8
- {omlish-0.0.0.dev389.dist-info → omlish-0.0.0.dev390.dist-info}/WHEEL +0 -0
- {omlish-0.0.0.dev389.dist-info → omlish-0.0.0.dev390.dist-info}/entry_points.txt +0 -0
- {omlish-0.0.0.dev389.dist-info → omlish-0.0.0.dev390.dist-info}/licenses/LICENSE +0 -0
- {omlish-0.0.0.dev389.dist-info → omlish-0.0.0.dev390.dist-info}/top_level.txt +0 -0
omlish/__about__.py
CHANGED
omlish/lite/maysyncs.py
CHANGED
@@ -11,7 +11,8 @@ import typing as ta
|
|
11
11
|
|
12
12
|
T = ta.TypeVar('T')
|
13
13
|
T_co = ta.TypeVar('T_co', covariant=True)
|
14
|
-
|
14
|
+
|
15
|
+
_MaysyncX = ta.TypeVar('_MaysyncX')
|
15
16
|
|
16
17
|
_MaysyncGen = ta.Generator['_MaysyncOp', ta.Any, T] # ta.TypeAlias
|
17
18
|
|
@@ -40,11 +41,11 @@ class Maysync_(abc.ABC): # noqa
|
|
40
41
|
##
|
41
42
|
|
42
43
|
|
43
|
-
class _Maywaitable(abc.ABC, ta.Generic[
|
44
|
+
class _Maywaitable(abc.ABC, ta.Generic[_MaysyncX, T]):
|
44
45
|
@ta.final
|
45
46
|
def __init__(
|
46
47
|
self,
|
47
|
-
x:
|
48
|
+
x: _MaysyncX,
|
48
49
|
*args: ta.Any,
|
49
50
|
**kwargs: ta.Any,
|
50
51
|
) -> None:
|
@@ -115,6 +116,8 @@ class _MgMaysync(Maysync_, ta.Generic[T]):
|
|
115
116
|
) -> None:
|
116
117
|
self.mg = mg
|
117
118
|
|
119
|
+
functools.update_wrapper(self, mg, updated=())
|
120
|
+
|
118
121
|
def __get__(self, instance, owner=None):
|
119
122
|
return _MgMaysync(
|
120
123
|
self.mg.__get__(instance, owner), # noqa
|
@@ -188,7 +191,7 @@ class _MgMaysyncFn:
|
|
188
191
|
def __init__(self, m):
|
189
192
|
self.m = m
|
190
193
|
|
191
|
-
functools.update_wrapper(self, m)
|
194
|
+
functools.update_wrapper(self, m, updated=())
|
192
195
|
|
193
196
|
def __get__(self, instance, owner=None):
|
194
197
|
return _MgMaysyncFn(
|
@@ -1,5 +1,5 @@
|
|
1
1
|
omlish/.manifests.json,sha256=aT8yZ-Zh-9wfHl5Ym5ouiWC1i0cy7Q7RlhzavB6VLPI,8587
|
2
|
-
omlish/__about__.py,sha256=
|
2
|
+
omlish/__about__.py,sha256=alsBldkE0-UGNfrDGdG5bJin7IBPy2fvZg-usmwH17A,3543
|
3
3
|
omlish/__init__.py,sha256=SsyiITTuK0v74XpKV8dqNaCmjOlan1JZKrHQv5rWKPA,253
|
4
4
|
omlish/c3.py,sha256=rer-TPOFDU6fYq_AWio_AmA-ckZ8JDY5shIzQ_yXfzA,8414
|
5
5
|
omlish/cached.py,sha256=MLap_p0rdGoDIMVhXVHm1tsbcWobJF0OanoodV03Ju8,542
|
@@ -478,7 +478,7 @@ omlish/lite/json.py,sha256=m0Ce9eqUZG23-H7-oOp8n1sf4fzno5vtK4AK_4Vc-Mg,706
|
|
478
478
|
omlish/lite/logs.py,sha256=CWFG0NKGhqNeEgryF5atN2gkPYbUdTINEw_s1phbINM,51
|
479
479
|
omlish/lite/marshal.py,sha256=JD_8ox5-yeIo7MZ6iipCdiVxx33So52M02AtvFlRGC8,20392
|
480
480
|
omlish/lite/maybes.py,sha256=0p_fzb6yiOjEpvMKaQ53Q6CH1VPW1or7v7Lt1JIKcgM,4359
|
481
|
-
omlish/lite/maysyncs.py,sha256=
|
481
|
+
omlish/lite/maysyncs.py,sha256=ltB3CQ_zYl2PiTmHjtpeErZDFpNwj27JhO6_3xBmnfk,5852
|
482
482
|
omlish/lite/pycharm.py,sha256=FRHGcCDo42UzZXqNwW_DkhI-6kb_CmJKPiQ8F6mYkLA,1174
|
483
483
|
omlish/lite/reflect.py,sha256=pzOY2PPuHH0omdtglkN6DheXDrGopdL3PtTJnejyLFU,2189
|
484
484
|
omlish/lite/reprs.py,sha256=Tiqf_ciD8FfS0ury7FcJ5G21yY342fW0vPacYlb8EO4,2014
|
@@ -895,9 +895,9 @@ omlish/typedvalues/marshal.py,sha256=AtBz7Jq-BfW8vwM7HSxSpR85JAXmxK2T0xDblmm1HI0
|
|
895
895
|
omlish/typedvalues/of_.py,sha256=UXkxSj504WI2UrFlqdZJbu2hyDwBhL7XVrc2qdR02GQ,1309
|
896
896
|
omlish/typedvalues/reflect.py,sha256=PAvKW6T4cW7u--iX80w3HWwZUS3SmIZ2_lQjT65uAyk,1026
|
897
897
|
omlish/typedvalues/values.py,sha256=ym46I-q2QJ_6l4UlERqv3yj87R-kp8nCKMRph0xQ3UA,1307
|
898
|
-
omlish-0.0.0.
|
899
|
-
omlish-0.0.0.
|
900
|
-
omlish-0.0.0.
|
901
|
-
omlish-0.0.0.
|
902
|
-
omlish-0.0.0.
|
903
|
-
omlish-0.0.0.
|
898
|
+
omlish-0.0.0.dev390.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
899
|
+
omlish-0.0.0.dev390.dist-info/METADATA,sha256=2Ozri2hyskBCfsdHgBPNMJXGWCnvQz5xIm_p3MPXVaE,18825
|
900
|
+
omlish-0.0.0.dev390.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
901
|
+
omlish-0.0.0.dev390.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
|
902
|
+
omlish-0.0.0.dev390.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
|
903
|
+
omlish-0.0.0.dev390.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|