soia-client 1.0.26__tar.gz → 1.0.27__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.
- {soia_client-1.0.26 → soia_client-1.0.27}/PKG-INFO +1 -1
- {soia_client-1.0.26 → soia_client-1.0.27}/pyproject.toml +1 -1
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/arrays.py +1 -1
- {soia_client-1.0.26 → soia_client-1.0.27}/soia_client.egg-info/PKG-INFO +1 -1
- {soia_client-1.0.26 → soia_client-1.0.27}/tests/test_module_initializer.py +5 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/LICENSE +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/README.md +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/setup.cfg +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/__init__.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/__init__.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/enums.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/function_maker.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/keyed_items.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/method.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/never.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/optionals.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/primitives.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/repr.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/serializer.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/serializers.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/service.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/service_client.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/structs.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/timestamp.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_impl/type_adapter.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_module_initializer.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/_spec.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia/reflection.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia_client.egg-info/SOURCES.txt +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia_client.egg-info/dependency_links.txt +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/soia_client.egg-info/top_level.txt +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/tests/test_serializers.py +0 -0
- {soia_client-1.0.26 → soia_client-1.0.27}/tests/test_timestamp.py +0 -0
@@ -49,7 +49,7 @@ class _ArrayAdapter(TypeAdapter):
|
|
49
49
|
self.empty_listuple = listuple_class()
|
50
50
|
|
51
51
|
def default_expr(self) -> ExprLike:
|
52
|
-
return "
|
52
|
+
return Expr.local("_d?", self.empty_listuple)
|
53
53
|
|
54
54
|
def to_frozen_expr(self, arg_expr: ExprLike) -> Expr:
|
55
55
|
listuple_class_local = Expr.local("_lstpl?", self.listuple_class)
|
@@ -1031,6 +1031,11 @@ class ModuleInitializerTestCase(unittest.TestCase):
|
|
1031
1031
|
self.assertIs(entries.find("bar"), entries[3])
|
1032
1032
|
self.assertIs(entries.find_or_default("foo"), entries[0])
|
1033
1033
|
self.assertIs(entries.find_or_default("zoo"), entry_cls.DEFAULT)
|
1034
|
+
serializer = json_value_cls.Object.SERIALIZER
|
1035
|
+
json_object = serializer.from_json_code("0")
|
1036
|
+
entries = json_object.entries
|
1037
|
+
self.assertIsInstance(entries, KeyedItems)
|
1038
|
+
self.assertIs(entries.find("zoo"), None)
|
1034
1039
|
|
1035
1040
|
def test_find_in_keyed_items_with_complex_path(self):
|
1036
1041
|
module = self.init_test_module()
|
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
|