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

Function checkInOutOverlap

dash/dash-renderer/src/actions/dependencies.js:406–422  ·  view source on GitHub ↗
(out, inputs)

Source from the content-addressed store, hash-verified

404}
405
406function checkInOutOverlap(out, inputs) {
407 const {id: outId, property: outProp} = out;
408 return inputs.some(in_ => {
409 const {id: inId, property: inProp} = in_;
410 if (outProp !== inProp || typeof outId !== typeof inId) {
411 return false;
412 }
413 if (typeof outId === 'string') {
414 if (outId === inId) {
415 return true;
416 }
417 } else if (wildcardOverlap(in_, [out])) {
418 return true;
419 }
420 return false;
421 });
422}
423
424function findMismatchedWildcards(outputs, inputs, state, head, dispatchError) {
425 const {matchKeys: out0MatchKeys} = findWildcardKeys(

Callers 1

computeGraphsFunction · 0.85

Calls 1

wildcardOverlapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…