def download_output(api_key: str, owner: str, project: str, job_id: str, run_index: int,
output_name: str, target_folder: str) -> None:
"""Download output from a job on Pollination.
api_key: The API key of the Pollination account.
owner: The owner of the Pollination account.
project: The name of the project inside which the job was created.
job_id: The id of the job.
run_index: The index of the run inside the job.
output_name: The name of the output you wish to download. You can find the names
of all the outputs either on the job page or on the recipe page.
target_folder: The folder where the output will be downloaded.
job = Job(owner, project, job_id, ApiClient(api_token=api_key))
run = job.runs[run_index]
output = run.download_zipped_output(output_name)
with zipfile.ZipFile(output) as zip_folder: