code: def _init_run_dir(state):
      log.info("Initializing run")
      _write_run_attrs(state)
      _init_dvc_repo(state)
      _copy_dvc_yaml(state)
      _resolve_deps(state)
      _copy_params_with_flags(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 9 for calling a global function with example usage: _init_run_dir(state) without return types