code: def get_current_workflow_id() -> str:
      assert _context is not None
      return _context.workflow_id
  
file_path: ray/python/ray/workflow/workflow_context.py
imports: import logging
  from contextlib import contextmanager
  from dataclasses import dataclass
  from typing import Optional
  import ray
  from ray._private.ray_logging import configure_log_file, get_worker_log_file_name
  from ray.workflow.common import CheckpointModeType, WorkflowStatus
label_desc: Use image node_id 4 for calling a global function with example usage: get_current_workflow_id() and returns: _context