code: def _get_cornac_metric_classnames():
      """For security checking in the evaluate API"""
      global metric_classnames
  
      metric_classnames = set()
      for name, obj in inspect.getmembers(sys.modules[__name__]):
          if inspect.isclass(obj) and obj.__module__.startswith(
              "cornac.metrics"
          ):
              metric_classnames.add(name)
  
file_path: cornac/cornac/serving/app.py
imports: import os
  import sys
  import inspect
  from datetime import datetime, timezone
  from csv import writer
  from cornac.data import Dataset, Reader
  from cornac.eval_methods import BaseMethod
  from cornac.metrics import *
label_desc: Use image node_id 4 for calling a global function with example usage: _get_cornac_metric_classnames() without return types