Flask application initialization.

def init_app(self, app, entry_point_group='invenio_queues.queues'):
        """Flask application initialization."""
        self.init_config(app)
        app.extensions['invenio-queues'] = _InvenioQueuesState(
            app,
            app.config['QUEUES_CONNECTION_POOL'],
            entry_point_group=entry_point_group
        )
        return app