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

Method __getitem__

kubernetes/base/dynamic/resource.py:377–378  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

375 return self.__dict__ == other.__dict__
376
377 def __getitem__(self, name):
378 return self.__dict__.get(name)
379
380 # Here resource.items will return items if available or resource.__dict__.items function if not
381 # resource.get will call resource.__dict__.get after attempting resource.__dict__.get('get')

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected