soia-client 1.1.8__py3-none-any.whl → 1.1.9__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/primitives.py CHANGED
@@ -339,6 +339,8 @@ class _TimestampAdapter(AbstractPrimitiveAdapter[Timestamp]):
339
339
  def _timestamp_from_json(json: Any) -> Timestamp:
340
340
  if json.__class__ is int or isinstance(json, int):
341
341
  return Timestamp(unix_millis=json)
342
+ elif isinstance(json, float):
343
+ return Timestamp(unix_millis=int(json))
342
344
  else:
343
345
  return Timestamp(unix_millis=json["unix_millis"])
344
346
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: soia-client
3
- Version: 1.1.8
3
+ Version: 1.1.9
4
4
  Author-email: Tyler Fibonacci <gepheum@gmail.com>
5
5
  License: MIT License
6
6
 
@@ -12,7 +12,7 @@ soia/_impl/keyed_items.py,sha256=EoPrdeLJ8i7zCH-oW-7qOcyadyrzykB6lkrf3xRVmyk,337
12
12
  soia/_impl/method.py,sha256=C6ygh-Li4zADxFR_gfeBTuPUzLjZ1XHCp0ZI4-uiRYs,455
13
13
  soia/_impl/never.py,sha256=T7PHtIipuXlici4wa0yuJKrn9JgcT-ODC3QVCwsPprY,46
14
14
  soia/_impl/optionals.py,sha256=nYEQcR_kGzVGSaIhatQmZyusdDfmgmB7a7cgL2OVeJA,3661
15
- soia/_impl/primitives.py,sha256=hjUxMmd584je6DANjWlZ9shHO5PX6vrK5zJAAfdrA-4,13436
15
+ soia/_impl/primitives.py,sha256=K4dEWTs8NyXTsq_mPFPv4Uc82v4_f1MnTAj7N5GAWTw,13518
16
16
  soia/_impl/repr.py,sha256=Z4sZKFrujdTD49aqB7q3bjXAb1f31I7uuChDBy5XvFg,1418
17
17
  soia/_impl/serializer.py,sha256=UrOb5_VaPnRb0t-Nop7mu7j_yaK4fiRQzwMdKOUkmTQ,4627
18
18
  soia/_impl/serializers.py,sha256=IL9jHHMo11pgrL1-crarOEElvTyV5YM6FTcgumjW6IU,2564
@@ -21,8 +21,8 @@ soia/_impl/service_client.py,sha256=FWfbFswbhMBw1snR9JLEpSJagY2ntZbFaVxTUGEDA5s,
21
21
  soia/_impl/structs.py,sha256=7hHula-mJnKbYyl6crYvv1U5uxj5lcvLeyD1fCbJIrc,35945
22
22
  soia/_impl/timestamp.py,sha256=uiDQOVDC1ygA-15Yl_b7-pT_tsbHe1YrtB0kA5FFebY,5637
23
23
  soia/_impl/type_adapter.py,sha256=OSZdXbeXANSEkKBb_rAgljB_2qG3HJUk6jK3nPjzRRY,2909
24
- soia_client-1.1.8.dist-info/licenses/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
25
- soia_client-1.1.8.dist-info/METADATA,sha256=gGzPD_379bwWLs0YBwu7ljW-gPzxYkaBAMPZNptH6QE,2121
26
- soia_client-1.1.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
- soia_client-1.1.8.dist-info/top_level.txt,sha256=lsYG9JrvauFe1oIV5zvnwsS9hsx3ztwfK_937op9mxc,5
28
- soia_client-1.1.8.dist-info/RECORD,,
24
+ soia_client-1.1.9.dist-info/licenses/LICENSE,sha256=SaAftKkX6hfSOiPdENQPS70tifH3PDHgazq8eK2Pwfw,1064
25
+ soia_client-1.1.9.dist-info/METADATA,sha256=3if242uqeFdB5lv9PzTqw3QXRHHramux32WGTSyhn8Q,2121
26
+ soia_client-1.1.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
27
+ soia_client-1.1.9.dist-info/top_level.txt,sha256=lsYG9JrvauFe1oIV5zvnwsS9hsx3ztwfK_937op9mxc,5
28
+ soia_client-1.1.9.dist-info/RECORD,,