MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _drop

Method _drop

uncommon_route/session.py:115–117  ·  view source on GitHub ↗
(self, session_id: str)

Source from the content-addressed store, hash-verified

113 self._drop_response_ids_for(sid)
114
115 def _drop(self, session_id: str) -> None:
116 self._records.pop(session_id, None)
117 self._drop_response_ids_for(session_id)
118
119 def _drop_response_ids_for(self, session_id: str) -> None:
120 stale = [r for r, s in self._by_response_id.items() if s == session_id]

Callers 1

_evict_expiredMethod · 0.95

Calls 2

popMethod · 0.80

Tested by

no test coverage detected