soia-client 1.0.15__py3-none-any.whl → 1.0.16__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 soia-client might be problematic. Click here for more details.

soia/_impl/service.py CHANGED
@@ -1,11 +1,15 @@
1
1
  import inspect
2
2
  import json
3
3
  from dataclasses import dataclass
4
- from typing import Any, Callable, Generic, Literal, Mapping, TypeAlias, Union, cast
4
+ from typing import Any, Callable, Generic, Literal, Protocol, TypeAlias, Union, cast
5
5
 
6
6
  from soia._impl.method import Method, Request, Response
7
7
 
8
- RequestHeaders: TypeAlias = Mapping[str, str]
8
+
9
+ class RequestHeaders(Protocol):
10
+ def __getitem__(self, key: str, /) -> str | None: ...
11
+
12
+
9
13
  ResponseHeaders: TypeAlias = dict[str, str]
10
14
 
11
15
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: soia-client
3
- Version: 1.0.15
3
+ Version: 1.0.16
4
4
  Author-email: Tyler Fibonacci <gepheum@gmail.com>
5
5
  License: MIT License
6
6
 
@@ -14,13 +14,13 @@ soia/_impl/primitives.py,sha256=Xk26Fv4oQG2oXd3tS_2sAnJYQdXYX9nva09713AcJvs,8940
14
14
  soia/_impl/repr.py,sha256=7WX0bEAVENTjlyZIcbT8TcJylS7IRIyafGCmqaIMxFM,1413
15
15
  soia/_impl/serializer.py,sha256=28IwkjtUnLpbnPQfVNfJXkApCK4JhXHwLkC5MVhF8xo,3529
16
16
  soia/_impl/serializers.py,sha256=IL9jHHMo11pgrL1-crarOEElvTyV5YM6FTcgumjW6IU,2564
17
- soia/_impl/service.py,sha256=v6R4cJ00EkB9dFmIkDub8VYz6vnueCQp86FjuqekAZ4,5956
17
+ soia/_impl/service.py,sha256=Z0HZlitdEyosbrTXK8OQMnqvahywUJPi7GRTnyRE8B4,6004
18
18
  soia/_impl/service_client.py,sha256=5gS7tUt0LJdKGxJsjNU6-aQaZk4dRg1alT83oJfqIZo,2218
19
19
  soia/_impl/structs.py,sha256=YTc3Ykj2TxPquar2XsP2DhFfkfIoELXOveyd8yTqN90,26545
20
20
  soia/_impl/timestamp.py,sha256=lXBNH8mPmzflkNjSKZSBl2XS-ot9N8N92B_zGO2SMtU,4078
21
21
  soia/_impl/type_adapter.py,sha256=RyIyh4Fnt9rMy0HRzC-a2v2JAdZsV9FBzoGEUVygVRE,2101
22
- soia_client-1.0.15.dist-info/licenses/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
23
- soia_client-1.0.15.dist-info/METADATA,sha256=jb6oyJzVlCCr4c2dAiNXZXOKVgSHAZ_ckyFT3jt8HGw,1667
24
- soia_client-1.0.15.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
25
- soia_client-1.0.15.dist-info/top_level.txt,sha256=lsYG9JrvauFe1oIV5zvnwsS9hsx3ztwfK_937op9mxc,5
26
- soia_client-1.0.15.dist-info/RECORD,,
22
+ soia_client-1.0.16.dist-info/licenses/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
23
+ soia_client-1.0.16.dist-info/METADATA,sha256=mAhZErll3dmFwg-rMhQWEwd-EWFi9yf2rvCpBjS3a14,1667
24
+ soia_client-1.0.16.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
25
+ soia_client-1.0.16.dist-info/top_level.txt,sha256=lsYG9JrvauFe1oIV5zvnwsS9hsx3ztwfK_937op9mxc,5
26
+ soia_client-1.0.16.dist-info/RECORD,,