code: def warn(self, message: str) -> None:
      self.error_write(message, style="warn")
  
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 5 for calling the Console obj's underlying member method code with example usage: obj.warn(message) without return types