class_docstr: A base class for metrics.
docstr: Get the link from the docdata.
docstr_tok: ["Get","the","link","from","the","docdata","."]
code: def get_link(cls) -> str:
      """Get the link from the docdata."""
      docdata = get_docdata(cls)
      if docdata is None:
          raise TypeError
      return docdata["link"]
  
imports: from dataclasses import dataclass
  from typing import ClassVar, Collection, Optional
  import numpy
  from docdata import get_docdata
  from scipy import stats
  from ..utils import ExtraReprMixin, camel_to_snake
label_desc: Use image node_id 2 for calling the Metric obj's underlying member method code with example usage: obj.get_link(cls) and returns: docdata