def GetNames(cls):
    """Retrieves the names of the registered artifact definitions.

    Returns:
      list[str]: registered artifact definitions names.
    """
    names = []
    for plugin_class in cls._plugins.values():
      name = getattr(plugin_class, 'ARTIFACT_DEFINITION_NAME', None)
      if name:
        names.append(name)

    return names
def GetNames ( cls ) : names = [ ] for plugin_class in cls . _plugins . values ( ) : name = getattr ( plugin_class , 'ARTIFACT_DEFINITION_NAME' , None ) if name : names . append ( name ) return names
Retrieves the names of the registered artifact definitions.

    Returns:
      list[str]: registered artifact definitions names.