soia-client 1.1.8__tar.gz → 1.1.9__tar.gz
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_client-1.1.8/soia_client.egg-info → soia_client-1.1.9}/PKG-INFO +1 -1
- {soia_client-1.1.8 → soia_client-1.1.9}/pyproject.toml +1 -1
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/primitives.py +2 -0
- {soia_client-1.1.8 → soia_client-1.1.9/soia_client.egg-info}/PKG-INFO +1 -1
- {soia_client-1.1.8 → soia_client-1.1.9}/LICENSE +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/README.md +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/setup.cfg +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/__init__.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/__init__.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/arrays.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/binary.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/enums.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/function_maker.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/keep.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/keyed_items.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/method.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/never.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/optionals.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/repr.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/serializer.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/serializers.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/service.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/service_client.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/structs.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/timestamp.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_impl/type_adapter.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_module_initializer.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/_spec.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia/reflection.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia_client.egg-info/SOURCES.txt +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia_client.egg-info/dependency_links.txt +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/soia_client.egg-info/top_level.txt +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/tests/test_module_initializer.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/tests/test_serializers.py +0 -0
- {soia_client-1.1.8 → soia_client-1.1.9}/tests/test_timestamp.py +0 -0
|
@@ -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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|