MCPcopy Index your code
hub / github.com/aws/aws-cli / __delitem__

Method __delitem__

awscli/botocore/utils.py:3965–3971  ·  view source on GitHub ↗
(self, cache_key)

Source from the content-addressed store, hash-verified

3963 raise KeyError(cache_key)
3964
3965 def __delitem__(self, cache_key):
3966 actual_key = self._convert_cache_key(cache_key)
3967 try:
3968 key_path = Path(actual_key)
3969 key_path.unlink()
3970 except FileNotFoundError:
3971 raise KeyError(cache_key)
3972
3973 def __setitem__(self, cache_key, value):
3974 full_key = self._convert_cache_key(cache_key)

Callers

nothing calls this directly

Calls 1

_convert_cache_keyMethod · 0.95

Tested by

no test coverage detected