update
This commit is contained in:
parent
c6ffe48513
commit
c5c1b79111
@ -27,8 +27,10 @@ def fallback_if_need(current, previous, associate_map=None):
|
||||
if current[key]:
|
||||
fallback_if_need(current[key], value, associate_map.get(key, {}))
|
||||
else:
|
||||
print(f'fallback {key}')
|
||||
current[key] = value
|
||||
elif key not in current:
|
||||
print(f'fallback {key}')
|
||||
current[key] = value
|
||||
|
||||
elif isinstance(current, list) and (uid := associate_map.get(fallback_associated_unique_id)):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user