code: def set_print_threshold(threshold: int):
      """Set print threshold
  
      The print threshold is the number of elements from ids/tasks to
      print when printing representations of `Dataset` objects.
  
      Parameters
      ----------
      threshold: int
          Number of elements to print.
      """
      global _print_threshold
      _print_threshold = threshold
  
label_desc: Use image node_id 2 for calling a global function with example usage: set_print_threshold(threshold) without return types