code: def download_results_artifact(
      bk: Buildkite, artifact: Artifact
  ) -> Dict:
      blob = bk.artifacts().download_artifact(
          organization=artifact.job.build.organization,
          pipeline=artifact.job.build.pipeline,
          build=artifact.job.build.number,
          job=artifact.job.id,
          artifact=artifact.id,
      )
      data_dict = json.loads(blob)
      return data_dict.get("results", {})
  
file_path: ray/release/release_logs/fetch_release_logs.py
imports: import json
  import os
  import re
  from dataclasses import dataclass
  from pathlib import Path
  from typing import Any, Dict, List, Optional
  import boto3
  import click
  from pybuildkite.buildkite import Buildkite
label_desc: Use image node_id 6 for calling a global function with example usage: download_results_artifact(bk, artifact) and returns: data_dict