Skip to content

Commit 6134e4d

Browse files
committed
rename var updates -> existing
1 parent 06d9a4f commit 6134e4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dash/_callback_context.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ def timing_information(self):
252252
def set_props(self, component_id: typing.Union[str, dict], props: dict):
253253
ctx_value = _get_context_value()
254254
_id = stringify_id(component_id)
255-
updates = ctx_value.updated_props.get(_id)
256-
if updates is not None:
257-
ctx_value.updated_props[_id] = {**updates, **props}
255+
existing = ctx_value.updated_props.get(_id)
256+
if existing is not None:
257+
ctx_value.updated_props[_id] = {**existing, **props}
258258
else:
259259
ctx_value.updated_props[_id] = props
260260

0 commit comments

Comments
 (0)