code: def _format_op(op, model):
      description, details = util.split_description(op.description)
      return {
          "fullname": format_op_fullname(op.name, model.fullname),
          "description": description,
          "details": details,
          "model": model.fullname,
          "model_name": model.name,
          "name": op.name,
          "main": op.main,
          "flags": [_format_flag_for_op(flag) for flag in op.flags],
          "_model": 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 4 for calling a global function with example usage: _format_op(op, model) and returns: dict