code: def __enter__(self):
      super().__enter__()
      warnings.filterwarnings("ignore", category=UserWarning)
      warnings.filterwarnings("ignore", category=FutureWarning)
      warnings.filterwarnings("ignore", category=DeprecationWarning)
      return self
  
imports: import warnings
label_desc: Use image node_id 1 for calling the warning_filter obj's underlying member method code with example usage: obj.__enter__() and returns: self