MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / expire

Method expire

app/api/agentops/common/cache.py:67–69  ·  view source on GitHub ↗
(self, key: str, expiry: int)

Source from the content-addressed store, hash-verified

65 self.expiry[key] = time.time() + expiry
66
67 def expire(self, key: str, expiry: int) -> None:
68 if key in self.store:
69 self.expiry[key] = time.time() + expiry
70
71 def delete(self, key: str) -> None:
72 if key in self.store:

Callers 2

record_interactionFunction · 0.45
expireFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected