code: def load_jobs_from_analysis(analysis: Analysis) -> list[Job]:
      """
      Returns all jobs loaded from the provided analysis object.
  
      Args:
          cache: W
  
      Note:
          This function might take a long time if job logs are not cached. They are downloaded
          sequentially.
      """
      return [Job.from_training_job(job) for job in analysis]
  
imports: from __future__ import annotations
  import json
  import math
  import os
  import shutil
  from pathlib import Path
  from typing import Any, cast, Dict, List, Optional, Union
  import numpy
  from tsbench.config import MODEL_REGISTRY
  from tsbench.evaluations.aws import Analysis, TrainingJob
  from tsbench.evaluations.metrics import Metric, Performance
  from tsbench.forecasts import QuantileForecasts
label_desc: Use image node_id 1 for calling a global function with example usage: load_jobs_from_analysis(analysis) and returns: unknown