docstr: Returns a raw SQL query string
docstr_tok: ["Returns","a","raw","SQL","query","string"]
code: def generate_query(self, **kwargs):
      """Returns a raw SQL query string"""
      try:
          return self.query_template.format(**kwargs)
      except KeyError as e:
          msg = """
  Failed to generate query for pack: "{name}"
  The provided query parameters were:
  {kwargs}
  
  Error:
  {error}
  """.strip().format(
              name=self.name, error=e, kwargs=kwargs
          )
          raise KeyError(msg)
  
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 QueryPackConfiguration obj's underlying member method code with example usage: obj.generate_query() and returns: self