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

Method __setattr__

kubernetes/client/configuration.py:251–259  ·  view source on GitHub ↗
(self, name, value)

Source from the content-addressed store, hash-verified

249 return result
250
251 def __setattr__(self, name, value):
252 object.__setattr__(self, name, value)
253 if name == 'disabled_client_side_validations':
254 s = set(filter(None, value.split(',')))
255 for v in s:
256 if v not in JSON_SCHEMA_VALIDATION_KEYWORDS:
257 raise ApiValueError(
258 "Invalid keyword: '{0}''".format(v))
259 self._disabled_client_side_validations = s
260
261 @classmethod
262 def set_default(cls, default):

Callers

nothing calls this directly

Calls 2

ApiValueErrorClass · 0.90
formatMethod · 0.45

Tested by

no test coverage detected