code: def _maybe_apply_cwd(args):
      if not args.cwd:
          return
      config.set_cwd(_validated_dir(args.cwd))
  
imports: import logging
  import os
  from guild import cli
  from guild import config
  from guild import log
label_desc: Use image node_id 10 for calling a global function with example usage: _maybe_apply_cwd(args) without return types