Skip to content

reducers

anymerge.reducers

replace

replace(_a: Any, b: T) -> T

Return the second argument.

Source code in src/anymerge/reducers.py
6
7
8
def replace(_a: typing.Any, b: T, /) -> T:
    """Return the second argument."""
    return b