Make _nested_alter recursive
This commit is contained in:
parent
8e9e0b5a78
commit
81bda0dfab
1 changed files with 1 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ def _nested_alter(
|
||||||
# try to find the key:
|
# try to find the key:
|
||||||
findings = nested_lookup(key, document, with_keys=True, wild=wild_alter)
|
findings = nested_lookup(key, document, with_keys=True, wild=wild_alter)
|
||||||
for k, v in findings.items():
|
for k, v in findings.items():
|
||||||
|
v = _nested_alter(v, keys, callback_function, function_parameters, conversion_function, wild_alter, in_place, key_len)
|
||||||
trans_val = _call_callback(
|
trans_val = _call_callback(
|
||||||
v, callback_function, function_parameters, conversion_function
|
v, callback_function, function_parameters, conversion_function
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue