code: def cost_breakdown_to_dict(
      cost_breakdown: Dict[str, float]
  ) -> List[CostBreakdownEntry]:
      return [
          {"resource": resource, "cost": cost}
          for resource, cost in cost_breakdown.items()
      ]
  
file_path: hail/batch/batch/batch.py
imports: import json
  import logging
  from typing import Any, Dict, List, Optional
  from gear import transaction
  from hailtop.batch_client.types import CostBreakdownEntry, JobListEntryV1Alpha
  from hailtop.utils import humanize_timedelta_msecs, time_msecs_str
  from .batch_format_version import BatchFormatVersion
  from .exceptions import NonExistentBatchError, OpenBatchError
  from .utils import coalesce
label_desc: Use image node_id 1 for calling a global function with example usage: cost_breakdown_to_dict(cost_breakdown) and returns: unknown