MCPcopy Create free account
hub / github.com/Roy3838/Observer / get_json

Function get_json

api/r2_store.py:124–126  ·  view source on GitHub ↗

Returns (data, etag). (None, None) if the object does not exist.

(key: str)

Source from the content-addressed store, hash-verified

122
123
124async def get_json(key: str) -> Tuple[Optional[dict], Optional[str]]:
125 """Returns (data, etag). (None, None) if the object does not exist."""
126 return await asyncio.to_thread(_get_json_sync, key)
127
128
129async def put_json(

Callers 1

update_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected