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