code: def WritePreprocessingInformation(self, knowledge_base):
      
      self._RaiseIfNotWritable()
  
      if self.storage_type != definitions.STORAGE_TYPE_SESSION:
        raise IOError('Preprocess information not supported by storage type.')
  
      system_configuration = knowledge_base.GetSystemConfigurationArtifact()
  
      self._WriteAttributeContainer(system_configuration)
docs: Writes preprocessing information.
  
      Args:
        knowledge_base (KnowledgeBase): contains the preprocessing information.
  
      Raises:
        IOError: if the storage type does not support writing preprocess
            information or the storage file is closed or read-only.
        OSError: if the storage type does not support writing preprocess
            information or the storage file is closed or read-only.