code: def list_models() -> list:
      """Returns a list of names of registered classes."""
      return list(_REGISTRY)
  
file_path: DeepPavlov/deeppavlov/core/common/registry.py
imports: import importlib
  import json
  from logging import getLogger
  from pathlib import Path
  from deeppavlov.core.common.errors import ConfigError
label_desc: Use image node_id 5 for calling a global function with example usage: list_models() and returns: list