equals

function of dascore.proc.basic source

equals(
    self: Patch ,
    other: Any ,
    only_required_attrs = True,
)-> ‘bool’

Determine if the current patch equals another.

Parameters

Parameter Description
other A Patch (could be equal) or some other type (not equal)
only_required_attrs If True, only compare required attributes. This helps avoid issues
with comparing histories or custom attrs of patches, for example.