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

        return self.db.one("""\

            SELECT due
              FROM current_payment_instructions
             WHERE participant = %s
               AND team = %s

        """, (self.username, team.slug))
Split words in PascalCase string into separate words.
dataset/ETHPy150Open gratipay/gratipay.com/gratipay/models/participant.py/Participant.get_due--crossover with--dataset/ETHPy150Open flask-admin/flask-admin/flask_admin/base.py/BaseView._prettify_class_name