def get_payment_instruction(self, team):

        if not isinstance(team, Team):
            team, slug = Team.from_slug(team), team
            if not team:
                raise NoTeam(slug)

        default = dict(amount=Decimal('0.00'), is_funded=False)
        return self.db.one("""\

            SELECT *
              FROM payment_instructions
             WHERE participant=%s
               AND team=%s
          ORDER BY mtime DESC
             LIMIT 1

        """, (self.username, team.slug), back_as=dict, default=default)
Return xprotect_entries information from osquery
dataset/ETHPy150Open gratipay/gratipay.com/gratipay/models/participant.py/Participant.get_payment_instruction--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/osquery.py/xprotect_entries