class_docstr: Base Task, shouldn't be used directly.
class_docstr_tok: ["Base","Task",",","should","n't","be","used","directly","."]
code: def metrics(
      self,
      new_metrics: typing.Union[
          typing.List[str],
          typing.List[base_metric.BaseMetric],
          str,
          base_metric.BaseMetric,
      ],
  ):
      self._metrics = self._convert_metrics(new_metrics)
  
file_path: MatchZoo/matchzoo/engine/base_task.py
imports: import typing
  import abc
  from matchzoo.engine import base_metric
  from matchzoo.engine import parse_metric
label_desc: Use image node_id 7 for calling the BaseTask obj's underlying member method code with example usage: obj.metrics(new_metrics) without return types