def METHOD_NAME(ds: Iterable[Mapping[K, V] | Iterable[tuple[K, V]]], /) -> dict[K, V]:
    """Sum the values of the given mappings, key by key"""
    out: dict[K, V] = {}
    for d in ds:
        if isinstance(d, Mapping):
            d = d.items()
        for k, v in d:
            try:
                out[k] += v  # type: ignore
            except KeyError:
                out[k] = v
    return out