Merge two objects in Python May 29, 2023 by Tarik If obj is a dictionary, use its update function: obj.update(add_obj)