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

Function addInputToMulti

dash/dash-renderer/src/actions/dependencies.js:859–868  ·  view source on GitHub ↗
(inIdProp, outIdProp, firstPass = true)

Source from the content-addressed store, hash-verified

857 const cbOut = [];
858
859 function addInputToMulti(inIdProp, outIdProp, firstPass = true) {
860 if (!config.validate_callbacks) return;
861 multiGraph.addNode(inIdProp);
862 multiGraph.addDependency(inIdProp, outIdProp);
863 // only store callback inputs and outputs during the first pass
864 if (firstPass) {
865 cbIn[cbIn.length - 1].push(inIdProp);
866 cbOut[cbOut.length - 1].push(outIdProp);
867 }
868 }
869
870 parsedDependencies.forEach(dependency => {
871 const {outputs, inputs} = dependency;

Callers 2

addOutputToMultiFunction · 0.85
computeGraphsFunction · 0.85

Calls 2

pushMethod · 0.80
addNodeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…