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

Function get_counts

openlibrary/plugins/admin/code.py:535–539  ·  view source on GitHub ↗

Generate counts for various operations which will be given to the index page

()

Source from the content-addressed store, hash-verified

533
534
535def get_counts():
536 """Generate counts for various operations which will be given to the
537 index page"""
538 retval = admin_stats.get_stats(100)
539 return storify(retval)
540
541
542def get_admin_stats():

Callers 1

GETMethod · 0.85

Calls 2

storifyFunction · 0.85
get_statsMethod · 0.80

Tested by

no test coverage detected