code: def _handle_stage(state):
      _init_run_dir(state)
      _repro_run(state)
      _log_metrics_as_summaries(state)
      _update_run_manifest(state)
  
imports: import argparse
  import logging
  import os
  import subprocess
  import yaml
  from guild import op_util
  from guild import run
  from guild import run_manifest
  from guild import summary
  from guild import util
  from .None import dvc_util
label_desc: Use image node_id 8 for calling a global function with example usage: _handle_stage(state) without return types