soia-client 1.1.6__py3-none-any.whl → 1.1.7__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/structs.py CHANGED
@@ -1,10 +1,11 @@
1
1
  import copy
2
+ import itertools
2
3
  from collections.abc import Callable, Sequence
3
4
  from dataclasses import FrozenInstanceError, dataclass
4
- import itertools
5
5
  from typing import Any, Final, Generic, Union, cast
6
6
 
7
7
  from soia import _spec, reflection
8
+ from soia._impl.binary import decode_int64, decode_unused, encode_length_prefix
8
9
  from soia._impl.function_maker import (
9
10
  BodyBuilder,
10
11
  Expr,
@@ -18,8 +19,7 @@ from soia._impl.function_maker import (
18
19
  )
19
20
  from soia._impl.keep import KEEP
20
21
  from soia._impl.repr import repr_impl
21
- from soia._impl.type_adapter import T, ByteStream, TypeAdapter
22
- from soia._impl.binary import decode_int64, decode_unused, encode_length_prefix
22
+ from soia._impl.type_adapter import ByteStream, T, TypeAdapter
23
23
 
24
24
 
25
25
  class StructAdapter(Generic[T], TypeAdapter[T]):
@@ -949,7 +949,9 @@ def _make_decode_fn(
949
949
  f" if array_len > {num_slots_incl_removed} and keep_unrecognized_fields:"
950
950
  )
951
951
  for _ in range(num_slots_incl_removed - num_slots_excl_removed):
952
- builder.append_ln(Expr.local(" decode_unused", decode_unused), "(stream)")
952
+ builder.append_ln(
953
+ " ", Expr.local("decode_unused", decode_unused), "(stream)"
954
+ )
953
955
  builder.append_ln(" start_offset = stream.position")
954
956
  builder.append_ln(" for _ in range(array_len - {num_slots_incl_removed}):")
955
957
  builder.append_ln(" ", Expr.local("decode_unused", decode_unused), "(stream)")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: soia-client
3
- Version: 1.1.6
3
+ Version: 1.1.7
4
4
  Author-email: Tyler Fibonacci <gepheum@gmail.com>
5
5
  License: MIT License
6
6
 
@@ -18,11 +18,11 @@ soia/_impl/serializer.py,sha256=UrOb5_VaPnRb0t-Nop7mu7j_yaK4fiRQzwMdKOUkmTQ,4627
18
18
  soia/_impl/serializers.py,sha256=IL9jHHMo11pgrL1-crarOEElvTyV5YM6FTcgumjW6IU,2564
19
19
  soia/_impl/service.py,sha256=4FZ7yY4EJTw4xFmfg3Ya9IfbI0s8qN97aIuqa8TifjM,15535
20
20
  soia/_impl/service_client.py,sha256=FWfbFswbhMBw1snR9JLEpSJagY2ntZbFaVxTUGEDA5s,5303
21
- soia/_impl/structs.py,sha256=j6ZzvIyMCO4YS96yWJTAJPRI87JDEQXj83tDcGDwSRQ,35919
21
+ soia/_impl/structs.py,sha256=7hHula-mJnKbYyl6crYvv1U5uxj5lcvLeyD1fCbJIrc,35945
22
22
  soia/_impl/timestamp.py,sha256=ahRJ8tyPU-fpmInqHQHCUqAvI1Vhwc-bszcP7iIFbRw,5614
23
23
  soia/_impl/type_adapter.py,sha256=cjFoSIQstL7n8g89JvxyCUl7hN1TJQ6yH427SxsMV_0,2910
24
- soia_client-1.1.6.dist-info/licenses/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
25
- soia_client-1.1.6.dist-info/METADATA,sha256=wBG11hDygPyIztnr3FomBVyBvOM3AgQtiwhyzG1QR9I,2121
26
- soia_client-1.1.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- soia_client-1.1.6.dist-info/top_level.txt,sha256=lsYG9JrvauFe1oIV5zvnwsS9hsx3ztwfK_937op9mxc,5
28
- soia_client-1.1.6.dist-info/RECORD,,
24
+ soia_client-1.1.7.dist-info/licenses/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
25
+ soia_client-1.1.7.dist-info/METADATA,sha256=t9ra0gGxJ6YJ-5bU8Y_BV87pDA15Y35y-Pi0ltQxSYE,2121
26
+ soia_client-1.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ soia_client-1.1.7.dist-info/top_level.txt,sha256=lsYG9JrvauFe1oIV5zvnwsS9hsx3ztwfK_937op9mxc,5
28
+ soia_client-1.1.7.dist-info/RECORD,,