def register(self):
if self.app is not None:<EOL><INDENT>if not self.blueprint:<EOL><INDENT>self.blueprint = self.create_blueprint()<EOL><DEDENT>self.app.register_blueprint(self.blueprint)<EOL>if self.cache is None:<EOL><INDENT>setattr(self.app.jinja_env, "<STR_LIT>", self)<EOL>self.app.jinja_env.add_extension(FakeCacheExtension)<EOL><DEDENT>return self.blueprint<EOL><DEDENT>return None<EOL>
Register the app using Blueprint

        :return: Nemo blueprint
        :rtype: flask.Blueprint