code: def iter_ops(args):
      dirs = models_impl.models_iter_dirs(args)
      for model in models_impl.iter_models(
          dirs, include_anonymous=True
      ):
          for op in model.modeldef.operations:
              op.set_modelref(model.reference)
              yield op, model
  
file_path: guildai/guild/commands/operations_impl.py
imports: from guild import cli
  from guild import cmd_impl_support
  from guild import flag_util
  from guild import model
  from guild import util
  from .None import models_impl
label_desc: Use image node_id 2 for calling a global function with example usage: iter_ops(args) without return types