code: def _make_query_pack_repo(container):
      repo = QueryPackRepository
  
      config = container.get("config")
      query_directories = [
          item
          for item in config["global"]["general"].get(
              "scheduled_query_locations", []
          )
      ]
  
      repo.load_packs(query_directories)
      return repo
  
imports: import logging
  import boto3
  from botocore import client
  from botocore.exceptions import ProfileNotFound
  from streamalert.scheduled_queries.command.processor import CommandProcessor
  from streamalert.scheduled_queries.config.lambda_conf import get_streamquery_env_vars
  from streamalert.scheduled_queries.container.container import ServiceDefinition, ServiceContainer
  from streamalert.scheduled_queries.handlers.athena import AthenaClient
  from streamalert.scheduled_queries.query_packs.configuration import QueryPackRepository
  from streamalert.scheduled_queries.query_packs.manager import QueryPackExecutionContext, QueryPacksManagerFactory, QueryParameterGenerator
  from streamalert.scheduled_queries.state.state_manager import StateManager, StepFunctionStateManager
  from streamalert.scheduled_queries.streamalert.kinesis import KinesisClient
  from streamalert.scheduled_queries.support.clock import Clock
  from streamalert.shared.config import load_config
label_desc: Use image node_id 9 for calling a global function with example usage: _make_query_pack_repo(container) and returns: repo