class_docstr: Airflow rich console.
class_docstr_tok: ["Airflow","rich","console","."]
code: def __init__(self, show_header: bool = True, *args, **kwargs):
      super().__init__(*args, **kwargs)
      # Set the width to constant to pipe whole output from console
      self._width = 200 if not is_tty() else self._width
  
      # If show header in tables
      self.show_header = show_header
  
imports: from __future__ import annotations
  import inspect
  import json
  from typing import TYPE_CHECKING, Any, Callable, Sequence
  from rich.box import ASCII_DOUBLE_HEAD
  from rich.console import Console
  from rich.syntax import Syntax
  from rich.table import Table
  from tabulate import tabulate
  from airflow.plugins_manager import PluginsDirectorySource
  from airflow.utils import yaml
  from airflow.utils.platform import is_tty
label_desc: Use image node_id 1 to create a new AirflowConsole object from inherited base classes: Console with example: obj = AirflowConsole(show_header)