class_docstr: This class manages multiple query packs that are firing off simultaneously
  
  This class is not a service--it is a stateful container for QueryPacks, which themselves
  can be stateful.
class_docstr_tok: ["This","class","manages","multiple","query","packs","that","are","firing","off","simultaneously","This","class","is","not","a","service","--","it","is","a","stateful","container","for","QueryPacks",",","which","themselves","can","be","stateful","."]
docstr: Begins executing a query, given the QueryPackConfiguration
  
  Args:
      query_pack (QueryPack)
  
  Returns:
      QueryPack
docstr_tok: ["Begins","executing","a","query",",","given","the","QueryPackConfiguration","Args",":","query_pack","(","QueryPack",")","Returns",":","QueryPack"]
code: def _kickoff_query(self, query_pack):
      """Begins executing a query, given the QueryPackConfiguration
  
      Args:
          query_pack (QueryPack)
  
      Returns:
          QueryPack
      """
      if query_pack.is_previously_started:
          self._execution_context.logger.debug(
              'Existing Query Execution exists for "%s": [%s]',
              query_pack.query_pack_configuration.name,
              query_pack.query_execution_id,
          )
          return query_pack
  
      self._execution_context.logger.info(
          'Executing Query Pack "%s"...',
          query_pack.query_pack_configuration.name,
      )
  
      query_pack.start_query()
  
      return query_pack
  
imports: import json
  from logging import Logger
  from streamalert.scheduled_queries.handlers.athena import AthenaClient
  from streamalert.scheduled_queries.query_packs.configuration import QueryPackConfiguration, QueryPackRepository
  from streamalert.scheduled_queries.query_packs.parameters import QueryParameterGenerator
  from streamalert.scheduled_queries.state.state_manager import StateManager
  from streamalert.scheduled_queries.support.clock import Clock
label_desc: Use image node_id 10 for calling the QueryPacksManager obj's underlying member method code with example usage: obj._kickoff_query(query_pack) and returns: query_pack, query_pack