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

Method __init__

openlibrary/plugins/upstream/code.py:158–162  ·  view source on GitHub ↗
(self, root)

Source from the content-addressed store, hash-verified

156 """
157
158 def __init__(self, root):
159 self.root = root.removesuffix("/")
160 self.docs = None
161 self._text = None
162 self.last_modified = None
163
164 def update(self):
165 keys = web.ctx.site.things({"type": "/type/rawtext", "key~": self.root + "/*"})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected