def telnums_mem(self):
    return [tel for acc in self.accounts for sub in acc.subscriptions for
        tel in sub.telnums]
How to specify table relationships in SQLAlchemy with multi-level/multiple joins?