omlish 0.0.0.dev182__py3-none-any.whl → 0.0.0.dev184__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 omlish might be problematic. Click here for more details.
- omlish/__about__.py +2 -2
- omlish/lite/marshal.py +11 -0
- {omlish-0.0.0.dev182.dist-info → omlish-0.0.0.dev184.dist-info}/METADATA +1 -1
- {omlish-0.0.0.dev182.dist-info → omlish-0.0.0.dev184.dist-info}/RECORD +8 -8
- {omlish-0.0.0.dev182.dist-info → omlish-0.0.0.dev184.dist-info}/LICENSE +0 -0
- {omlish-0.0.0.dev182.dist-info → omlish-0.0.0.dev184.dist-info}/WHEEL +0 -0
- {omlish-0.0.0.dev182.dist-info → omlish-0.0.0.dev184.dist-info}/entry_points.txt +0 -0
- {omlish-0.0.0.dev182.dist-info → omlish-0.0.0.dev184.dist-info}/top_level.txt +0 -0
omlish/__about__.py
CHANGED
omlish/lite/marshal.py
CHANGED
|
@@ -318,6 +318,17 @@ def register_type_obj_marshaler(ty: type, om: ObjMarshaler) -> None:
|
|
|
318
318
|
_REGISTERED_OBJ_MARSHALERS_BY_TYPE[ty] = om
|
|
319
319
|
|
|
320
320
|
|
|
321
|
+
def register_single_field_type_obj_marshaler(fld, ty=None):
|
|
322
|
+
def inner(ty): # noqa
|
|
323
|
+
register_type_obj_marshaler(ty, SingleFieldObjMarshaler(ty, fld))
|
|
324
|
+
return ty
|
|
325
|
+
|
|
326
|
+
if ty is not None:
|
|
327
|
+
return inner(ty)
|
|
328
|
+
else:
|
|
329
|
+
return inner
|
|
330
|
+
|
|
331
|
+
|
|
321
332
|
##
|
|
322
333
|
|
|
323
334
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
omlish/.manifests.json,sha256=lRkBDFxlAbf6lN5upo3WSf-owW8YG1T21dfpbQL-XHM,7598
|
|
2
|
-
omlish/__about__.py,sha256=
|
|
2
|
+
omlish/__about__.py,sha256=IUmrL23_3uqjnDvdYLj3s03R2WCN3WuUzBWUSmVV7Ns,3409
|
|
3
3
|
omlish/__init__.py,sha256=SsyiITTuK0v74XpKV8dqNaCmjOlan1JZKrHQv5rWKPA,253
|
|
4
4
|
omlish/c3.py,sha256=ubu7lHwss5V4UznbejAI0qXhXahrU01MysuHOZI9C4U,8116
|
|
5
5
|
omlish/cached.py,sha256=UI-XTFBwA6YXWJJJeBn-WkwBkfzDjLBBaZf4nIJA9y0,510
|
|
@@ -383,7 +383,7 @@ omlish/lite/dataclasses.py,sha256=M6UD4VwGo0Ky7RNzKWbO0IOy7iBZVCIbTiC6EYbFnX8,10
|
|
|
383
383
|
omlish/lite/inject.py,sha256=qBUftFeXMiRgANYbNS2e7TePMYyFAcuLgsJiLyMTW5o,28769
|
|
384
384
|
omlish/lite/json.py,sha256=7-02Ny4fq-6YAu5ynvqoijhuYXWpLmfCI19GUeZnb1c,740
|
|
385
385
|
omlish/lite/logs.py,sha256=CWFG0NKGhqNeEgryF5atN2gkPYbUdTINEw_s1phbINM,51
|
|
386
|
-
omlish/lite/marshal.py,sha256=
|
|
386
|
+
omlish/lite/marshal.py,sha256=2ybMvKqhKIM4HyUxffzgKM2DOeOmiLgQ1FTNVdoji1U,16124
|
|
387
387
|
omlish/lite/maybes.py,sha256=7OlHJ8Q2r4wQ-aRbZSlJY7x0e8gDvufFdlohGEIJ3P4,833
|
|
388
388
|
omlish/lite/pycharm.py,sha256=pUOJevrPClSqTCEOkQBO11LKX2003tfDcp18a03QFrc,1163
|
|
389
389
|
omlish/lite/reflect.py,sha256=pzOY2PPuHH0omdtglkN6DheXDrGopdL3PtTJnejyLFU,2189
|
|
@@ -573,9 +573,9 @@ omlish/text/indent.py,sha256=6Jj6TFY9unaPa4xPzrnZemJ-fHsV53IamP93XGjSUHs,1274
|
|
|
573
573
|
omlish/text/minja.py,sha256=KAmZ2POcLcxwF4DPKxdWa16uWxXmVz1UnJXLSwt4oZo,5761
|
|
574
574
|
omlish/text/parts.py,sha256=7vPF1aTZdvLVYJ4EwBZVzRSy8XB3YqPd7JwEnNGGAOo,6495
|
|
575
575
|
omlish/text/random.py,sha256=jNWpqiaKjKyTdMXC-pWAsSC10AAP-cmRRPVhm59ZWLk,194
|
|
576
|
-
omlish-0.0.0.
|
|
577
|
-
omlish-0.0.0.
|
|
578
|
-
omlish-0.0.0.
|
|
579
|
-
omlish-0.0.0.
|
|
580
|
-
omlish-0.0.0.
|
|
581
|
-
omlish-0.0.0.
|
|
576
|
+
omlish-0.0.0.dev184.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
|
577
|
+
omlish-0.0.0.dev184.dist-info/METADATA,sha256=55DHVMSGXuuQnRiMWxDwhYGxjTbpMXhW-vM4DH2xw6s,4264
|
|
578
|
+
omlish-0.0.0.dev184.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
|
579
|
+
omlish-0.0.0.dev184.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
|
|
580
|
+
omlish-0.0.0.dev184.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
|
|
581
|
+
omlish-0.0.0.dev184.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|