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

Method update

dash/_patch.py:159–163  ·  view source on GitHub ↗

Merge a dict or keyword arguments with another dictionary

(self, E: Any = None, **F)

Source from the content-addressed store, hash-verified

157 self._operations.append(_operation("Remove", self._location, value=item))
158
159 def update(self, E: Any = None, **F) -> None:
160 """Merge a dict or keyword arguments with another dictionary"""
161 value = E or {}
162 value.update(F)
163 self._operations.append(_operation("Merge", self._location, value=value))
164
165 # pylint: disable=no-self-use
166 def sort(self):

Callers 4

__ior__Method · 0.95
on_clickFunction · 0.95
test_pat010_patch_mergeFunction · 0.95
__setstate__Method · 0.45

Calls 2

_operationFunction · 0.85
appendMethod · 0.45

Tested by 2

on_clickFunction · 0.76
test_pat010_patch_mergeFunction · 0.76