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