code: def ac_operation(ctx, _param, incomplete):
      from guild import run_util
  
      if ctx.params.get("remote"):
          return []
      runs = runs_for_ctx(ctx)
      ops = {
          run_util.format_operation(run, nowarn=True) for run in runs
      }
      return sorted([op for op in ops if op.startswith(incomplete)])
  
imports: import logging
  import click
  from guild import click_util
  from .None import ac_support
label_desc: Use image node_id 6 for calling a global function with example usage: ac_operation(ctx, _param, incomplete) and returns: sorted, list