code: def suppress_stdout():
      """Wrap a function with this to suppress
      its printing to screen.
  
      Source: `<https://thesmithfam.org/blog/2012/10/25/temporarily-suppress-console-output-in-python/>`_.
  
      >>> print("You can see this")
      You can see this
  
      >>> with suppress_stdout():
      ...     print("YY")
  
      >>> print("And you can see this again")
      And you can see this again
      """
      with open(os.devnull, "w") as devnull:
          old_stdout = sys.stdout
          sys.stdout = devnull
          try:
              yield
          finally:
              sys.stdout = old_stdout
  
imports: import os
  import sys
  from contextlib import contextmanager
  from enum import EnumMeta, IntEnum
  from typing import Any, Dict, List, Optional, Union
  import requests
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: suppress_stdout() without return types