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

Function update_args_group

dash/_grouping.py:239–250  ·  view source on GitHub ↗
(g, triggered)

Source from the content-addressed store, hash-verified

237
238
239def update_args_group(g, triggered):
240 if isinstance(g, dict):
241 str_id = stringify_id(g["id"])
242 prop_id = f"{str_id}.{g['property']}"
243
244 new_values = {
245 "value": g.get("value"),
246 "str_id": str_id,
247 "triggered": prop_id in triggered,
248 "id": AttributeDict(g["id"]) if isinstance(g["id"], dict) else g["id"],
249 }
250 g.update(new_values)

Callers 1

_prepare_callbackMethod · 0.85

Calls 4

AttributeDictClass · 0.85
stringify_idFunction · 0.70
getMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…