The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix/merge-dicts-non-dict-overwrite has failed.
Run started by GitHub user Qalipso (triggered by potiuk).

Head commit for run:
d1b566ecd2bbc55ec2db71b9c5ec222f1b6c966a / Eduard Shatalov 
<[email protected]>
Fix merge_dicts raising when a dict replaces a non-dict value

merge_dicts recursed whenever the right-hand value was a dict and the key
existed on the left, without checking that the left value was a dict too.
merge_dicts({"a": "x"}, {"a": {"b": 1}}) then raised
AttributeError: 'str' object has no attribute 'copy' instead of overwriting,
which is what the docstring promises. It surfaced when JSON log extras or an
executor exec_config promoted a scalar to a mapping.

Recurse only when both sides are dicts.

Report URL: https://github.com/apache/airflow/actions/runs/30784669553

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to