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

Method __contains__

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

Source from the content-addressed store, hash-verified

3950 return json.dumps(obj, default=self._serialize_if_needed)
3951
3952 def __contains__(self, cache_key):
3953 actual_key = self._convert_cache_key(cache_key)
3954 return os.path.isfile(actual_key)
3955
3956 def __getitem__(self, cache_key):
3957 """Retrieve value from a cache key."""

Callers

nothing calls this directly

Calls 1

_convert_cache_keyMethod · 0.95

Tested by

no test coverage detected