MCPcopy Index your code
hub / github.com/plotly/dash / _substitute

Function _substitute

dash/mcp/primitives/tools/callback_adapter.py:450–457  ·  view source on GitHub ↗
(item_id: WildcardId)

Source from the content-addressed store, hash-verified

448 return None
449
450 def _substitute(item_id: WildcardId) -> WildcardId | None:
451 if not isinstance(item_id, dict):
452 return None
453 output_id = dict(output_pattern)
454 for wk in wildcard_keys:
455 if wk in item_id:
456 output_id[wk] = item_id[wk]
457 return output_id
458
459 for entry in resolved_inputs:
460 # ALL/ALLSMALLER: nested array of {id, property, value} dicts

Callers 1

_derive_output_idsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…