(self, key: str)
| 313 | return cast(str, web.safestr(key)) |
| 314 | |
| 315 | def get(self, key: str) -> Any: |
| 316 | key = self._encode_key(key) |
| 317 | stats.begin("memcache.get", key=key) |
| 318 | value = self.memcache.get(key) |
| 319 | stats.end(hit=value is not None) |
| 320 | return value and json.loads(value) |
| 321 | |
| 322 | def get_multi(self, keys: list[str]) -> dict[str, Any]: |
| 323 | keys = [self._encode_key(k) for k in keys] |
nothing calls this directly
no test coverage detected