code: def clear_task(self, task):
      try:
          self.remove_task(task)
      except KeyError:
          pass
  
file_path: dvc/dvc/ui/_rich_progress.py
imports: from funcy import split
  from rich.progress import BarColumn, DownloadColumn, MofNCompleteColumn, Progress, SpinnerColumn, TextColumn, TimeElapsedColumn, TimeRemainingColumn, TransferSpeedColumn
label_desc: Use image node_id 1 for calling the RichProgress obj's underlying member method code with example usage: obj.clear_task(task) without return types