code: def CollectFromKnowledgeBase(cls, knowledge_base):
      
      for preprocess_plugin in cls._knowledge_base_plugins.values():
        logger.debug('Running knowledge base preprocessor plugin: {0:s}'.format(
            preprocess_plugin.__class__.__name__))
        try:
          preprocess_plugin.Collect(knowledge_base)
        except errors.PreProcessFail as exception:
          logger.warning(
              'Unable to collect knowledge base value with error: {0!s}'.format(
                  exception))
docs: Collects values from knowledge base values.
  
      Args:
        knowledge_base (KnowledgeBase): to fill with preprocessing information.