typedparser 0.11.3__tar.gz → 0.11.4__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.
- {typedparser-0.11.3 → typedparser-0.11.4}/PKG-INFO +1 -1
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser/__init__.py +1 -1
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser/_typedattr.py +4 -4
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser.egg-info/PKG-INFO +1 -1
- {typedparser-0.11.3 → typedparser-0.11.4}/LICENSE +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/README.md +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/pyproject.toml +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/requirements.txt +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/setup.cfg +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser/_typedparser.py +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser/custom_format.py +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser/funcs.py +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser/objects.py +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser.egg-info/SOURCES.txt +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser.egg-info/dependency_links.txt +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser.egg-info/requires.txt +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser.egg-info/top_level.txt +0 -0
- {typedparser-0.11.3 → typedparser-0.11.4}/src/typedparser.egg-info/zip-safe +0 -0
|
@@ -315,7 +315,7 @@ def _parse_nested(
|
|
|
315
315
|
)
|
|
316
316
|
|
|
317
317
|
# resolve any
|
|
318
|
-
if typ
|
|
318
|
+
if typ in [Any, any]:
|
|
319
319
|
return value
|
|
320
320
|
|
|
321
321
|
# resolve unions (mostly "optional")
|
|
@@ -369,9 +369,9 @@ def _parse_nested(
|
|
|
369
369
|
dict_output = {}
|
|
370
370
|
|
|
371
371
|
for key, val in value.items():
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
372
|
+
parsed_key = parse_recursive(f"{name}/dict_key_type", key, dict_keytype, strict=strict)
|
|
373
|
+
parsed_value = parse_recursive(f"{name}/{key}", val, dict_valuetype, strict=strict)
|
|
374
|
+
dict_output[parsed_key] = parsed_value
|
|
375
375
|
|
|
376
376
|
return dict_output
|
|
377
377
|
|
|
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
|