code: def legal_percentile() -> Type[str]:
      namespace = dict(
          legal_percentile=LegalPercentile.legal_percentile,
      )
      return type("LegalPercentile", (LegalPercentile,), namespace)
  
file_path: FATE/python/fate/components/core/params/_metrics.py
imports: import re
  from typing import Type
  from ._fields import StringChoice, Parameter
label_desc: Use image node_id 3 for calling a global function with example usage: legal_percentile() and returns: type