code: def print_descr(annot):
      """Print a short description to the right of each annot rect."""
      annot.parent.insert_text(
          annot.rect.br + (10, -5),
          "%s annotation" % annot.type[1],
          color=red,
      )
  
imports: from __future__ import print_function
  import gc
  import sys
  import fitz
label_desc: Use image node_id 1 for calling a global function with example usage: print_descr(annot) without return types