mm-std 0.3.2__py3-none-any.whl → 0.3.3__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.
mm_std/result.py CHANGED
@@ -2,7 +2,7 @@ from __future__ import annotations
2
2
 
3
3
  import time
4
4
  from collections.abc import Callable
5
- from typing import Any, Literal, NoReturn
5
+ from typing import Any, Literal, NoReturn, TypeVar, Union
6
6
 
7
7
  from pydantic_core import core_schema
8
8
 
@@ -240,7 +240,8 @@ class Err:
240
240
  )
241
241
 
242
242
 
243
- type Result[T] = Ok[T] | Err
243
+ T = TypeVar("T")
244
+ Result = Union[Ok[T], Err] # noqa: UP007
244
245
 
245
246
 
246
247
  class UnwrapError(Exception):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mm-std
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Requires-Python: >=3.12
5
5
  Requires-Dist: cryptography~=44.0.1
6
6
  Requires-Dist: httpx[http2,socks]~=0.28.1
@@ -14,10 +14,10 @@ mm_std/net.py,sha256=qdRCBIDneip6FaPNe5mx31UtYVmzqam_AoUF7ydEyjA,590
14
14
  mm_std/print_.py,sha256=zB7sVbSSF8RffMxvnOdbKCXjCKtKzKV3R68pBri4NkQ,1638
15
15
  mm_std/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  mm_std/random_.py,sha256=OuUX4VJeSd13NZBya4qrGpR2TfN7_87tfebOY6DBUnI,1113
17
- mm_std/result.py,sha256=KtYZbVJMkwwCPcV-Tnt0TkTNyDgiALvQB1DtIEp1prc,7405
17
+ mm_std/result.py,sha256=_j5E5cPV5wkeUkPzmIayISXSVLCV7wX8FAVURODxht4,7451
18
18
  mm_std/str.py,sha256=jS7VAI7i_a3iqnfaW4Iw2LZRTv0Tml4kmMbP2S2IUF4,3067
19
19
  mm_std/types_.py,sha256=hvZlnvBWyB8CL_MeEWWD0Y0nN677plibYn3yD-5g7xs,99
20
20
  mm_std/zip.py,sha256=axzF1BwcIygtfNNTefZH7hXKaQqwe-ZH3ChuRWr9dnk,396
21
- mm_std-0.3.2.dist-info/METADATA,sha256=cuEOHrPdCbXiuZ_2-7Q8hsV2u5S5wxI497_K4UWmYvI,306
22
- mm_std-0.3.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
- mm_std-0.3.2.dist-info/RECORD,,
21
+ mm_std-0.3.3.dist-info/METADATA,sha256=CsPv5qAhNpyb8FD-glwz3L_xKCr6pOep6Zu7KcmsFGM,306
22
+ mm_std-0.3.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
+ mm_std-0.3.3.dist-info/RECORD,,
File without changes