code: def _get_dependent_args(fields, hints, args):
      return {
          name: arg if isinstance(hint, Value) else arg.output
          for name, arg, hint in zip(fields, args, hints)
          if hint in (Funsor, Bound) or isinstance(hint, (Has, Value))
      }
  
imports: import inspect
  import typing
  import warnings
  from collections import OrderedDict
  from functools import singledispatch
  import makefun
  from funsor.instrument import debug_logged
  from funsor.terms import Funsor, FunsorMeta, Variable, eager, to_funsor
  from funsor.util import as_callable
label_desc: Use image node_id 3 for calling a global function with example usage: _get_dependent_args(fields, hints, args) and returns: unknown