Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
139
def
get(key: str) -> str | None:
140
""
"Get a value from the cache by key."
""
141
return
_backend.get(key)
142
143
144
def
setex(key: str, expiry: int, value: str) -> None:
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected