soia-client 1.1.9__tar.gz → 1.1.10__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.9/soia_client.egg-info → soia_client-1.1.10}/PKG-INFO +1 -1
- {soia_client-1.1.9 → soia_client-1.1.10}/pyproject.toml +1 -1
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/primitives.py +1 -1
- {soia_client-1.1.9 → soia_client-1.1.10/soia_client.egg-info}/PKG-INFO +1 -1
- {soia_client-1.1.9 → soia_client-1.1.10}/LICENSE +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/README.md +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/setup.cfg +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/__init__.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/__init__.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/arrays.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/binary.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/enums.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/function_maker.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/keep.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/keyed_items.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/method.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/never.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/optionals.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/repr.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/serializer.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/serializers.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/service.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/service_client.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/structs.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/timestamp.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_impl/type_adapter.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_module_initializer.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/_spec.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia/reflection.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia_client.egg-info/SOURCES.txt +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia_client.egg-info/dependency_links.txt +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/soia_client.egg-info/top_level.txt +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/tests/test_module_initializer.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/tests/test_serializers.py +0 -0
- {soia_client-1.1.9 → soia_client-1.1.10}/tests/test_timestamp.py +0 -0
|
@@ -339,7 +339,7 @@ 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):
|
|
342
|
+
elif isinstance(json, float) or isinstance(json, str):
|
|
343
343
|
return Timestamp(unix_millis=int(json))
|
|
344
344
|
else:
|
|
345
345
|
return Timestamp(unix_millis=json["unix_millis"])
|
|
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
|