MCPcopy Create free account
hub / github.com/kubernetes-client/python / __getattr__

Method __getattr__

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

Source from the content-addressed store, hash-verified

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')
382 def __getattr__(self, name):
383 return self.__dict__.get(name, getattr(self.__dict__, name, None))
384
385 def __setattr__(self, name, value):
386 self.__dict__[name] = value

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected