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

Method _replace_all

kubernetes/informer/cache.py:69–72  ·  view source on GitHub ↗
(self, objects)

Source from the content-addressed store, hash-verified

67 self._objects.pop(key, None)
68
69 def _replace_all(self, objects):
70 rebuilt = {self._key_func(o): o for o in objects}
71 with self._rlock:
72 self._objects = rebuilt
73
74 # --- public read API ---
75

Callers 2

_initial_listMethod · 0.80
test_replace_allMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_replace_allMethod · 0.64