original_docstring: 
      Creates a proper test_execution store based on the current configuration.
      :param cfg: Config object. Mandatory.
      :return: A test_execution store implementation.
      
docstring: Creates a proper test_execution store based on the current configuration.
docstring_tokens: Creates a proper test_execution store based on the current configuration .
code: def results_store(cfg):
      """
      Creates a proper test_execution store based on the current configuration.
      :param cfg: Config object. Mandatory.
      :return: A test_execution store implementation.
      """
      logger = logging.getLogger(__name__)
      if cfg.opts("results_publishing", "datastore.type") == "opensearch":
          logger.info("Creating OS results store")
          return OsResultsStore(cfg)
      else:
          logger.info("Creating no-op results store")
          return NoopResultsStore()
code_tokens: def results_store ( cfg ) : logger = logging . getLogger ( __name__ ) if cfg . opts ( "results_publishing" , "datastore.type" ) == "opensearch" : logger . info ( "Creating OS results store" ) return OsResultsStore ( cfg ) else : logger . info ( "Creating no-op results store" ) return NoopResultsStore ( )
short_docstring: Creates a proper test_execution store based on the current configuration.
short_docstring_tokens: Creates a proper test_execution store based on the current configuration .
comment: """
      Creates a proper test_execution store based on the current configuration.
      :param cfg: Config object. Mandatory.
      :return: A test_execution store implementation.
      """