MCPcopy Index your code
hub / github.com/kubernetes-client/python / get_by_key

Method get_by_key

kubernetes/informer/cache.py:91–94  ·  view source on GitHub ↗

Look up an object by key. Returns None when absent.

(self, key)

Source from the content-addressed store, hash-verified

89 return self.get_by_key(key)
90
91 def get_by_key(self, key):
92 """Look up an object by key. Returns None when absent."""
93 with self._rlock:
94 return self._objects.get(key)

Calls 1

getMethod · 0.45