MCPcopy Index your code
hub / github.com/karpathy/reader3 / get_one

Function get_one

reader3.py:157–159  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

155 return [x[0] for x in data] if data else []
156
157 def get_one(key):
158 data = book_obj.get_metadata('DC', key)
159 return data[0][0] if data else None
160
161 return BookMetadata(
162 title=get_one('title') or "Untitled",

Callers 1

extract_metadata_robustFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected