<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def handle_request_trial_jobs(self, data):
 """recerive the number of request and generate trials Parameters data: int number of trial jobs that nni manager ask to generate """

        # Receive new request
        self.credit += data

        for _ in range(self.credit):
            self._request_one_trial_job()