MCPcopy
hub / github.com/AgentOps-AI/agentops / get

Function get

app/api/agentops/common/cache.py:139–141  ·  view source on GitHub ↗

Get a value from the cache by key.

(key: str)

Source from the content-addressed store, hash-verified

137
138
139def get(key: str) -> str | None:
140 """Get a value from the cache by key."""
141 return _backend.get(key)
142
143
144def setex(key: str, expiry: int, value: str) -> None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected