code: def get_buildkite_api() -> Buildkite:
      bk = Buildkite()
      buildkite_token = maybe_fetch_buildkite_token()
      bk.set_access_token(buildkite_token)
      return bk
  
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 1 for calling a global function with example usage: get_buildkite_api() and returns: bk