code: def print_header(cls):
      fmt = (
          "|"
          + "|".join(["{{:^{}}}".format(x) for x in cls.COLUMN_WIDTHS])
          + "|"
      )
      separators = ["-" * x for x in cls.COLUMN_WIDTHS]
      print(fmt.format(*cls.COLUMN_NAMES))
      print(fmt.format(*separators))
  
file_path: catboost/contrib/python/scipy/py3/scipy/optimize/_trustregion_constr/report.py
imports: from __future__ import annotations
  from typing import List
label_desc: Use image node_id 1 for calling the ReportBase obj's underlying member method code with example usage: obj.print_header(cls) without return types