soia-client 1.0.3__py3-none-any.whl → 1.0.4__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.1
2
2
  Name: soia-client
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Author-email: Tyler Fibonacci <gepheum@gmail.com>
5
5
  License: MIT License
6
6
 
@@ -1,9 +1,9 @@
1
1
  soialib/__init__.py,sha256=5sEAu3ATaiMVbXE_8yb6Ikd5-ilj21tQ8zoQ2Uh2pBM,178
2
2
  soialib/keyed_items.py,sha256=q7MCn82obf-0jh7FcAhuw4eh9-wtuHIpkEFcSfc8EaY,338
3
- soialib/module_initializer.py,sha256=Ix6hvZJC-WEMOmMmfFhOns261A_TW9BJGlVnuYnsrek,3289
3
+ soialib/module_initializer.py,sha256=d2Y-u1Jddva9-v25Yc4xlX7ifaMXoO4WurF1r6QxBaU,3289
4
4
  soialib/never.py,sha256=bYU63XyNX4e2wOUXQHhHWGO-an4IFr9_ur1ut6GmGN0,47
5
5
  soialib/serializer.py,sha256=quFXOYjj7sjfjQIVZPa0NPvKtO4LmYrRtNeFlZy_Aio,2599
6
- soialib/spec.py,sha256=tyd51Tq06gu_SCw_CqQLr8PxJKF8FMhQw5TGaMCJbVo,3440
6
+ soialib/spec.py,sha256=eUw9iISeQd-utq2Rl_FTnXKXpawg7piWkFL92FfQCik,3440
7
7
  soialib/timestamp.py,sha256=6VNKAJs7EwxBm3tEEk1Cy1FhAD6lSNdlB3K2Sg6QHIA,4065
8
8
  soialib/impl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  soialib/impl/arrays.py,sha256=YFDT5WG4Lpmbt0d5-9_dML8kIL9AS3LfJvlA0tr5J4A,4970
@@ -15,8 +15,8 @@ soialib/impl/primitives.py,sha256=X_ywRmVZI_Q5tatb1Qil6Xvdyh1J4ElfI-LOCn671Zk,59
15
15
  soialib/impl/repr.py,sha256=z-_jGNKuY__DfwQKW40xzZFf_eG6wGMJvuY_2hJrETA,1441
16
16
  soialib/impl/structs.py,sha256=pXPn6SeyZH-FwQXbvUG_uoc5DZ8oZgDQ5v_jx8Uf5aY,23576
17
17
  soialib/impl/type_adapter.py,sha256=IP3jF3wPgwKhWd7LKMmbbv1qUTv1HBAyMdpVrIg0_S0,2063
18
- soia_client-1.0.3.dist-info/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
19
- soia_client-1.0.3.dist-info/METADATA,sha256=CNHQxVAx6XGudm53p4ALcqAA98XgOeW0ue6dF3osjLg,1645
20
- soia_client-1.0.3.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
21
- soia_client-1.0.3.dist-info/top_level.txt,sha256=2vPmAo5G0SrCxYrNdJKJJVdpalYppgjO2mmz2PtsFUI,8
22
- soia_client-1.0.3.dist-info/RECORD,,
18
+ soia_client-1.0.4.dist-info/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
19
+ soia_client-1.0.4.dist-info/METADATA,sha256=DN8YpGeiXalIL0SpGElb6ByIoWQZC6gbbUFoNU1X3oc,1645
20
+ soia_client-1.0.4.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
21
+ soia_client-1.0.4.dist-info/top_level.txt,sha256=2vPmAo5G0SrCxYrNdJKJJVdpalYppgjO2mmz2PtsFUI,8
22
+ soia_client-1.0.4.dist-info/RECORD,,
@@ -43,7 +43,7 @@ def init_module_classes(
43
43
  type.key_attributes,
44
44
  )
45
45
  elif isinstance(type, spec.OptionalType):
46
- return optionals.get_optional_adapter(resolve_type(type.value))
46
+ return optionals.get_optional_adapter(resolve_type(type.other))
47
47
  elif isinstance(type, str):
48
48
  # A record id.
49
49
  return record_id_to_adapter[type]
soialib/spec.py CHANGED
@@ -24,7 +24,7 @@ class ArrayType:
24
24
 
25
25
  @dataclass(frozen=True)
26
26
  class OptionalType:
27
- value: "Type"
27
+ other: "Type"
28
28
 
29
29
 
30
30
  # TODO: comment