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

Function has_doc

openlibrary/plugins/admin/code.py:548–549  ·  view source on GitHub ↗
(date)

Source from the content-addressed store, hash-verified

546 return g(docs)
547
548 def has_doc(date):
549 return bool(web.ctx.site.get("/admin/stats/" + date.isoformat()))
550
551 def g(docs):
552 return {

Callers 1

get_admin_statsFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected