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

Method delete

app/api/agentops/common/cache.py:124–126  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

122 self.conn.commit()
123
124 def delete(self, key: str) -> None:
125 self.conn.execute("DELETE FROM cache WHERE key = ?", (key,))
126 self.conn.commit()
127
128 if os.path.exists("/.dockerenv"):
129 logger.info("Using in-memory cache for local development.")

Callers 1

getMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected