def init_app(self, app=None):
<EOL>if app:<EOL><INDENT>self.app = app<EOL><DEDENT>self.register()<EOL>
Initiate the application

        :param app: Flask application on which to add the extension
        :type app: flask.Flask