def get_payments(self, *, status=None):
    out = defaultdict(list)
    for chan in self.channels.values():
        d = chan.get_payments(status=status)
        for (k, v) in d.items():
            out[k] += v
    return out
def get_payments(self, *, status=None):
    out = defaultdict(list)
    for chan in self.channels.values():
        d = chan.get_payments(status=status)
        for (k, v) in d.items():
            out[k] += v
    return out