def init_app(self, app):
self.init_config(app)<EOL>app.jinja_env.filters.update(<EOL>from_isodate=from_isodate,<EOL>from_isodatetime=from_isodatetime,<EOL>to_arrow=to_arrow,<EOL>format_arrow=format_arrow,<EOL>)<EOL>if app.config['<STR_LIT>']:<EOL><INDENT>from invenio_formatter.context_processors.badges importbadges_processor<EOL>app.context_processor(badges_processor)<EOL>app.register_blueprint(create_badge_blueprint(<EOL>app.config['<STR_LIT>']))<EOL><DEDENT>app.extensions['<STR_LIT>'] = self<EOL>
Flask application initialization.

        :param app: The Flask application.