code: def deps_for_opdef(opdef, flag_vals):
      return [
          dep_for_depdef(depdef, flag_vals)
          for depdef in opdef.dependencies
      ]
  
imports: import os
  import re
  import logging
  import typing
  from guild import cli
  from guild import resolver
  from guild import resourcedef
  from guild import util
label_desc: Use image node_id 1 for calling a global function with example usage: deps_for_opdef(opdef, flag_vals) and returns: unknown