MCPcopy Create free account
hub / github.com/internetarchive/openlibrary / POST

Method POST

openlibrary/plugins/admin/code.py:725–734  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

723 return render_template("admin/solr")
724
725 def POST(self):
726 i = web.input(keys="")
727 keys = i["keys"].strip().split()
728 web.ctx.site.store["solr-force-update"] = {
729 "type": "solr-force-update",
730 "keys": keys,
731 "_rev": None,
732 }
733 add_flash_message("info", "Added the specified keys to solr update queue.!")
734 return self.GET()
735
736
737class imports_home:

Callers

nothing calls this directly

Calls 1

GETMethod · 0.95

Tested by

no test coverage detected