soia-client 1.0.12__py3-none-any.whl → 1.0.14__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: soia-client
3
- Version: 1.0.12
3
+ Version: 1.0.14
4
4
  Author-email: Tyler Fibonacci <gepheum@gmail.com>
5
5
  License: MIT License
6
6
 
@@ -1,6 +1,6 @@
1
- soia_client-1.0.12.dist-info/licenses/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
1
+ soia_client-1.0.14.dist-info/licenses/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
2
2
  soialib/_.py,sha256=I4SxBM3brmE9D6hyrDrdkbfVnDLVRWaGwnj0C9Zxh54,52
3
- soialib/__init__.py,sha256=UyNrMaKEwCmYecsEwgsglMJvjKzIbDp7idbIxLdBz_k,499
3
+ soialib/__init__.py,sha256=pUvVymO9x1rI68xZkbVvrhO1sHs4ECQ5pu2R2xHjoio,636
4
4
  soialib/keyed_items.py,sha256=q7MCn82obf-0jh7FcAhuw4eh9-wtuHIpkEFcSfc8EaY,338
5
5
  soialib/method.py,sha256=2qWG4jMqYhS3hA8y8YDu3iqzhXA_AKebpB38RWNmsYQ,452
6
6
  soialib/module_initializer.py,sha256=Riq6B6cS9HUG1W8tyaa0GkiG3F4fGX70bKU0UOCnrRw,4205
@@ -8,7 +8,7 @@ soialib/never.py,sha256=bYU63XyNX4e2wOUXQHhHWGO-an4IFr9_ur1ut6GmGN0,47
8
8
  soialib/reflection.py,sha256=U5knJGmawARCdcEhNxek4dvx48WLPETLqIqKBPWwT4Q,8771
9
9
  soialib/serializer.py,sha256=Lprzy8RTWjwpQ5D4L0lj8NTpUAZxpzjfc-qUQs9egHs,3551
10
10
  soialib/serializers.py,sha256=vNLNsfuu6dF0ivJF6v7wQj5Yr6uo2kZHXG5tMrYiVTA,2564
11
- soialib/service.py,sha256=FGvC8f9AOEdAKtADGOImzCNIpYtiqKjIjwzbHgOsXO8,5197
11
+ soialib/service.py,sha256=LWNlf2fH8ZgtssjXJnLiFQmtWTg4CrWo20y-Qlf2HXA,5263
12
12
  soialib/service_client.py,sha256=zJ7MhrTiF-T1yXJwCXcHyKbiD19QfUSAoxfj32B62a0,2234
13
13
  soialib/spec.py,sha256=Y5EHHQa6qNeJc29aaqGrFPnPFXxlL7TED9_AXUGBjf0,3663
14
14
  soialib/timestamp.py,sha256=lXBNH8mPmzflkNjSKZSBl2XS-ot9N8N92B_zGO2SMtU,4078
@@ -21,7 +21,7 @@ soialib/impl/primitives.py,sha256=E3rd6TZWDGqBzmrFwVGG2DZLMwDVoznLmilAgoCTT5Q,91
21
21
  soialib/impl/repr.py,sha256=7WX0bEAVENTjlyZIcbT8TcJylS7IRIyafGCmqaIMxFM,1413
22
22
  soialib/impl/structs.py,sha256=3YW05rDRmp3G38FZ4CbIjudz6Txog3ymcD28NHf0uGA,26615
23
23
  soialib/impl/type_adapter.py,sha256=Q-PacpFKXfYBRF6dqHaf3VO7BcvqG7C6k5aXDFACMGY,2133
24
- soia_client-1.0.12.dist-info/METADATA,sha256=P8jlB9lUlkPMBDcT4_JtX6gUmvuxcBlC2ghwkxXFmBs,1667
25
- soia_client-1.0.12.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
26
- soia_client-1.0.12.dist-info/top_level.txt,sha256=2vPmAo5G0SrCxYrNdJKJJVdpalYppgjO2mmz2PtsFUI,8
27
- soia_client-1.0.12.dist-info/RECORD,,
24
+ soia_client-1.0.14.dist-info/METADATA,sha256=CeNC9i68qb1GPp5eH8FMDYDm4_lDmjDHjZ9CxsY_yQI,1667
25
+ soia_client-1.0.14.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
26
+ soia_client-1.0.14.dist-info/top_level.txt,sha256=2vPmAo5G0SrCxYrNdJKJJVdpalYppgjO2mmz2PtsFUI,8
27
+ soia_client-1.0.14.dist-info/RECORD,,
soialib/__init__.py CHANGED
@@ -6,13 +6,17 @@ from soialib.serializers import (
6
6
  optional_serializer,
7
7
  primitive_serializer,
8
8
  )
9
+ from soialib.service import RequestHeaders, ResponseHeaders, ServiceImpl
9
10
  from soialib.service_client import ServiceClient
10
11
  from soialib.timestamp import Timestamp
11
12
 
12
13
  __all__ = [
13
14
  "KeyedItems",
14
15
  "Method",
16
+ "RequestHeaders",
17
+ "ResponseHeaders",
15
18
  "Serializer",
19
+ "ServiceImpl",
16
20
  "ServiceClient",
17
21
  "Timestamp",
18
22
  "array_serializer",
soialib/service.py CHANGED
@@ -12,6 +12,9 @@ ResponseHeaders: TypeAlias = dict[str, str]
12
12
  class ServiceImpl:
13
13
  _number_to_method_impl: dict[int, "_MethodImpl"]
14
14
 
15
+ def __init__(self):
16
+ self._number_to_method_impl = {}
17
+
15
18
  def add_method(
16
19
  self,
17
20
  method: Method[Request, Response],