class_docstr: IO class that redacts values going into stdout.
  
  Expected usage::
  
      with contextlib.redirect_stdout(RedactedIO()):
          ...  # Writes to stdout will be redacted.
class_docstr_tok: ["IO","class","that","redacts","values","going","into","stdout",".","Expected","usage",":",":","with","contextlib.redirect_stdout","(","RedactedIO","(",")",")",":","...","#","Writes","to","stdout","will","be","redacted","."]
code: def __enter__(self) -> TextIO:
      return self.target.__enter__()
  
imports: from __future__ import annotations
  import collections.abc
  import logging
  import sys
  from enum import Enum
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Callable, Dict, Generator, Iterable, Iterator, List, Pattern, TextIO, Tuple, TypeVar, Union
  import re2
  from airflow import settings
  from airflow.compat.functools import cache
label_desc: Use image node_id 2 for calling the RedactedIO obj's underlying member method code with example usage: obj.__enter__() and returns: self