def preprocess(self, nb_man, resources, km=None):
with self.setup_preprocessor(nb_man.nb, resources, km=km):<EOL><INDENT>if self.log_output:<EOL><INDENT>self.log.info("<STR_LIT>".format(self.kernel_name))<EOL><DEDENT>nb, resources = self.papermill_process(nb_man, resources)<EOL>info_msg = self._wait_for_reply(self.kc.kernel_info())<EOL>nb.metadata['<STR_LIT>'] = info_msg['<STR_LIT:content>']['<STR_LIT>']<EOL>self.set_widgets_metadata()<EOL><DEDENT>return nb, resources<EOL>
Wraps the parent class process call slightly