def get_accounts_elsewhere(self):
        accounts = self.db.all("""

            SELECT elsewhere.*::elsewhere_with_participant
              FROM elsewhere
             WHERE participant=%s

        """, (self.username,))
        accounts_dict = {account.platform: account for account in accounts}
        return accounts_dict
Return a dict of AccountElsewhere instances.
dataset/ETHPy150Open gratipay/gratipay.com/gratipay/models/participant.py/Participant.get_accounts_elsewhere