code: def get_auth_headers(token: str) -> Dict:
      return {"Authorization": f"Bearer {token}"}
  
file_path: dstack/src/dstack/_internal/server/testing/common.py
imports: import json
  import uuid
  from datetime import datetime, timezone
  from typing import Dict, Optional
  from uuid import UUID
  from sqlalchemy.ext.asyncio import AsyncSession
  from dstack._internal.core.models.backends.base import BackendType
  from dstack._internal.core.models.configurations import DevEnvironmentConfiguration
  from dstack._internal.core.models.instances import InstanceType, Resources
  from dstack._internal.core.models.profiles import Profile, SpotPolicy
  from dstack._internal.core.models.repos.base import RepoType
  from dstack._internal.core.models.repos.local import LocalRunRepoData
  from dstack._internal.core.models.runs import JobErrorCode, JobProvisioningData, JobSpec, JobStatus, Requirements, RetryPolicy, RunSpec
  from dstack._internal.core.models.users import GlobalRole
  from dstack._internal.server.models import BackendModel, GatewayComputeModel, GatewayModel, JobModel, ProjectModel, RepoModel, RunModel, UserModel
  from dstack._internal.server.services.jobs import get_job_specs_from_run_spec
label_desc: Use image node_id 1 for calling a global function with example usage: get_auth_headers(token) and returns: dict