class_docstr: A repository mapping names -> publishers
  
  As a usability optimization, using this Repository will eagerly load and register all
  publishers in the application.
class_docstr_tok: ["A","repository","mapping","names","-",">","publishers","As","a","usability","optimization",",","using","this","Repository","will","eagerly","load","and","register","all","publishers","in","the","application","."]
code: def import_publishers(cls):
      if not cls._is_imported:
          config = load_config()
          import_folders(
              *config["global"]["general"].get(
                  "publisher_locations", []
              )
          )
          cls._is_imported = True
  
imports: from abc import abstractmethod
  from copy import deepcopy
  from inspect import isclass
  from streamalert.shared.config import load_config
  from streamalert.shared.importer import import_folders
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 1 for calling the AlertPublisherRepository obj's underlying member method code with example usage: obj.import_publishers(cls) without return types