Skip to content

Difference between merge_patch and update #1183

@jdumas

Description

@jdumas

Hi,

I was wondering what is the difference between j1.merge_patch(j2) and j1.update(j2)? The two methods seem to have a similar behavior, but I am not sure exactly how they differ (they appear to have different purposes). I was using merge_patch() for a while because I was not aware of the update() method, so maybe it would also make sense to update the doc so they can point at each other (even if it's a warning to say they should not be confused).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions