code: def _get_message(
      self,
      latest: str,
      current: Optional[str] = None,
      color: str = "yellow",
      pkg: Optional[str] = None,
  ) -> "RichText":
      from dvc.ui import ui
  
      current = current or self.current
      update_message = ui.rich_text.from_markup(
          f"You are using dvc version [bold]{current}[/]; "
          f"however, version [bold]{latest}[/] is available."
      )
      instruction = ui.rich_text.from_markup(
          self._get_update_instructions(pkg=pkg)
      )
      return ui.rich_text.assemble(
          "\n", update_message, "\n", instruction, style=color
      )
  
file_path: dvc/dvc/updater.py
imports: import os
  import time
  from typing import TYPE_CHECKING, Optional
  from packaging import version
  from dvc import PKG, __version__
  from dvc.env import DVC_UPDATER_ENDPOINT
  from dvc.log import logger
label_desc: Use image node_id 9 for calling the Updater obj's underlying member method code with example usage: obj._get_message(latest, current, color, pkg) and returns: ui