def get_engine(self, name=None):
engine = self._engines.get(name)<EOL>if not engine:<EOL><INDENT>raise PapermillException("<STR_LIT>".format(name))<EOL><DEDENT>return engine<EOL>
Retrieves an engine by name.