omlish 0.0.0.dev258__py3-none-any.whl → 0.0.0.dev259__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/specs/jsonrpc/types.py +1 -3
- {omlish-0.0.0.dev258.dist-info → omlish-0.0.0.dev259.dist-info}/METADATA +1 -1
- {omlish-0.0.0.dev258.dist-info → omlish-0.0.0.dev259.dist-info}/RECORD +8 -8
- {omlish-0.0.0.dev258.dist-info → omlish-0.0.0.dev259.dist-info}/WHEEL +0 -0
- {omlish-0.0.0.dev258.dist-info → omlish-0.0.0.dev259.dist-info}/entry_points.txt +0 -0
- {omlish-0.0.0.dev258.dist-info → omlish-0.0.0.dev259.dist-info}/licenses/LICENSE +0 -0
- {omlish-0.0.0.dev258.dist-info → omlish-0.0.0.dev259.dist-info}/top_level.txt +0 -0
omlish/__about__.py
CHANGED
omlish/specs/jsonrpc/types.py
CHANGED
@@ -117,13 +117,11 @@ def error(id: Id, error: Error) -> Response: # noqa
|
|
117
117
|
##
|
118
118
|
|
119
119
|
|
120
|
-
Message: ta.TypeAlias = Request | Response
|
120
|
+
Message: ta.TypeAlias = Request | Response
|
121
121
|
|
122
122
|
|
123
123
|
def detect_message_type(dct: ta.Mapping[str, ta.Any]) -> type[Message]:
|
124
124
|
if 'method' in dct:
|
125
125
|
return Request
|
126
|
-
elif 'code' in dct:
|
127
|
-
return Error
|
128
126
|
else:
|
129
127
|
return Response
|
@@ -1,5 +1,5 @@
|
|
1
1
|
omlish/.manifests.json,sha256=x26AIwDzScUvnX-p4xlq6Zc5QYrAo0Vmgf1qHc1KL_M,8253
|
2
|
-
omlish/__about__.py,sha256=
|
2
|
+
omlish/__about__.py,sha256=QWfWomoVrAlTxHpzmKS8W74S6KcEi_KRE_xJsJmoxqo,3380
|
3
3
|
omlish/__init__.py,sha256=SsyiITTuK0v74XpKV8dqNaCmjOlan1JZKrHQv5rWKPA,253
|
4
4
|
omlish/c3.py,sha256=ubu7lHwss5V4UznbejAI0qXhXahrU01MysuHOZI9C4U,8116
|
5
5
|
omlish/cached.py,sha256=MLap_p0rdGoDIMVhXVHm1tsbcWobJF0OanoodV03Ju8,542
|
@@ -622,7 +622,7 @@ omlish/specs/jmespath/visitor.py,sha256=yneRMO4qf3k2Mdcm2cPC0ozRgOaudzlxRVRGatzt
|
|
622
622
|
omlish/specs/jsonrpc/__init__.py,sha256=QQwr-jkgvwr1ZMlNwl5W1TuHcxx8RuzQVFwWwNhp5sM,515
|
623
623
|
omlish/specs/jsonrpc/errors.py,sha256=-Zgmlo6bV6J8w5f8h9axQgLquIFBHDgIwcpufEH5NsE,707
|
624
624
|
omlish/specs/jsonrpc/marshal.py,sha256=hM1rPZddoha_87qcQtBWkyaZshCXlPoHPJg6J_nBi9k,1915
|
625
|
-
omlish/specs/jsonrpc/types.py,sha256=
|
625
|
+
omlish/specs/jsonrpc/types.py,sha256=emEiTPWsjsYy0jCC3It1bUEcu9nHp5y7-j73U1D6vl4,2700
|
626
626
|
omlish/specs/jsonschema/__init__.py,sha256=qmlpJJlB9TBwvE2qCjRHeecNhEYonpbncXfX0T2L-do,1060
|
627
627
|
omlish/specs/jsonschema/types.py,sha256=_H7ma99hD3_Xu42BFGHOXRI5p79tY8WBX8QE36k7lbw,472
|
628
628
|
omlish/specs/jsonschema/keywords/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -767,9 +767,9 @@ omlish/text/parts.py,sha256=Q9NvoyEGQKIWgiPD4D_Qc66cWAuyEKE033dT9m7c3Wk,6662
|
|
767
767
|
omlish/text/random.py,sha256=jNWpqiaKjKyTdMXC-pWAsSC10AAP-cmRRPVhm59ZWLk,194
|
768
768
|
omlish/text/go/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
769
769
|
omlish/text/go/quoting.py,sha256=N9EYdnFdEX_A8fOviH-1w4jwV3XOQ7VU2WsoUNubYVY,9137
|
770
|
-
omlish-0.0.0.
|
771
|
-
omlish-0.0.0.
|
772
|
-
omlish-0.0.0.
|
773
|
-
omlish-0.0.0.
|
774
|
-
omlish-0.0.0.
|
775
|
-
omlish-0.0.0.
|
770
|
+
omlish-0.0.0.dev259.dist-info/licenses/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
771
|
+
omlish-0.0.0.dev259.dist-info/METADATA,sha256=_6IPhJ7Wj-ZeElcErhEi86336VzmKQkKraGj9huqv8s,4198
|
772
|
+
omlish-0.0.0.dev259.dist-info/WHEEL,sha256=tTnHoFhvKQHCh4jz3yCn0WPTYIy7wXx3CJtJ7SJGV7c,91
|
773
|
+
omlish-0.0.0.dev259.dist-info/entry_points.txt,sha256=Lt84WvRZJskWCAS7xnQGZIeVWksprtUHj0llrvVmod8,35
|
774
|
+
omlish-0.0.0.dev259.dist-info/top_level.txt,sha256=pePsKdLu7DvtUiecdYXJ78iO80uDNmBlqe-8hOzOmfs,7
|
775
|
+
omlish-0.0.0.dev259.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|