Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_stats
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected