code: def __init__(
      self, formatter: Optional[Formatter] = None, enable: bool = False
  ) -> None:
      from contextvars import ContextVar
  
      self.formatter: Formatter = formatter or Formatter()
      self._enabled: bool = enable
      self._paginate: ContextVar[bool] = ContextVar(
          "_paginate", default=False
      )
  
imports: from contextlib import contextmanager, nullcontext
  from typing import TYPE_CHECKING, Any, Callable, Dict, Iterable, Iterator, Optional, Sequence, TextIO, Type, Union
  import colorama
  from dvc.utils.objects import cached_property
label_desc: Use image node_id 1 to create a new Console object  with example: obj = Console(formatter, enable)