def __init__(self, acc, out): self.outcome = out self.account = acc if acc: self.amount = AccountBalance.get(acc, out).amount