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

Function _make_key

app/api/agentops/auth/session.py:9–11  ·  view source on GitHub ↗

Generate a cache key for a session ID.

(session_id: str | UUID)

Source from the content-addressed store, hash-verified

7
8
9def _make_key(session_id: str | UUID) -> str:
10 """Generate a cache key for a session ID."""
11 return f"agentops.session:{session_id}"
12
13
14@dataclass

Callers 4

getMethod · 0.85
createMethod · 0.85
extendMethod · 0.85
expireMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…