def reindex(ctx): """Reindexes the harvest source datasets. """ flask_app = ctx.meta["flask_app"] with flask_app.test_request_context(): utils.reindex()
def reindex(self): utils.reindex()