Merge with | (3.9+)

a | b creates a new dict; later keys overwrite.

a = {'x': 1}; b = {'y': 2, 'x': 3}
c = a | b  # {'x': 3, 'y': 2}