MCPcopy
hub / github.com/pallets/werkzeug / __setattr__

Method __setattr__

src/werkzeug/local.py:90–93  ·  view source on GitHub ↗
(self, name: str, value: t.Any)

Source from the content-addressed store, hash-verified

88 raise AttributeError(name)
89
90 def __setattr__(self, name: str, value: t.Any) -> None:
91 values = self.__storage.get({}).copy()
92 values[name] = value
93 self.__storage.set(values)
94
95 def __delattr__(self, name: str) -> None:
96 values = self.__storage.get({})

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls 3

copyMethod · 0.45
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected