code: def _resolve_workflow_refs(index: int) -> Any:
      raise ValueError(
          "There is no context for resolving workflow refs."
      )
  
file_path: ray/python/ray/workflow/serialization_context.py
imports: import contextlib
  from typing import List, Any, Dict
  from ray.util.serialization import register_serializer, deregister_serializer
  from ray.workflow.common import WorkflowRef
label_desc: Use image node_id 1 for calling a global function with example usage: _resolve_workflow_refs(index) without return types