MCPcopy
hub / github.com/plotly/dash / __iadd__

Method __iadd__

dash/_patch.py:88–95  ·  view source on GitHub ↗
(self, other: Any)

Source from the content-addressed store, hash-verified

86 self._operations.append(_operation("Delete", self._location + [key]))
87
88 def __iadd__(self, other: Any):
89 if isinstance(other, (list, tuple)):
90 self.extend(other)
91 else:
92 self._operations.append(_operation("Add", self._location, value=other))
93 if not self._location:
94 return self
95 return _noop
96
97 def __isub__(self, other: Any):
98 self._operations.append(_operation("Sub", self._location, value=other))

Callers

nothing calls this directly

Calls 3

extendMethod · 0.95
_operationFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected