def reward_bonus(self, assignment_id, amount, reason):
        """Reward the Turker with a bonus."""
        from psiturk.amt_services import MTurkServices

        self.amt_services = MTurkServices(
            self.aws_access_key_id,
            self.aws_secret_access_key,
            self.config.getboolean(
                'Shell Parameters', 'launch_in_sandbox_mode'))
        return self.amt_services.bonus_worker(assignment_id, amount, reason)
def reward_bonus ( self , assignment_id , amount , reason ) : from psiturk . amt_services import MTurkServices self . amt_services = MTurkServices ( self . aws_access_key_id , self . aws_secret_access_key , self . config . getboolean ( 'Shell Parameters' , 'launch_in_sandbox_mode' ) ) return self . amt_services . bonus_worker ( assignment_id , amount , reason )
Reward the Turker with a bonus.