def prefix_search(self, job_name_prefix):
        """Searches for jobs matching the given ``job_name_prefix``."""
        json = self._fetch_json()
        jobs = json['response']
        for job in jobs:
            if job.startswith(job_name_prefix):
                yield self._build_results(jobs, job)
def prefix_search ( self , job_name_prefix ) : json = self . _fetch_json ( ) jobs = json [ 'response' ] for job in jobs : if job . startswith ( job_name_prefix ) : yield self . _build_results ( jobs , job )
Searches for jobs matching the given ``job_name_prefix``.