class_docstr: A repository of all packs
docstr: Args:
      config (QueryPackConfiguration)
docstr_tok: ["Args",":","config","(","QueryPackConfiguration",")"]
code: def register(cls, config):
      """
      Args:
          config (QueryPackConfiguration)
      """
      name = config.name
      if name in cls.QUERY_PACKS:
          raise RuntimeError(
              'ERROR: Duplicate query pack name: "{}"'.format(name)
          )
  
      cls.QUERY_PACKS[name] = config
  
file_path: streamalert/streamalert/scheduled_queries/query_packs/configuration.py
imports: from streamalert.shared.importer import import_folders
label_desc: Use image node_id 2 for calling the QueryPackRepository obj's underlying member method code with example usage: obj.register(cls, config) without return types