code: def celery_module_imports(sender, signal=None, **kwargs):
      
      app = getattr(sender, 'flask_app', None)
      if app:
          app.extensions['invenio-celery'].load_entry_points()
docs: Load shared celery tasks.