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

Function checkDocstring

dash/extract-meta.js:114–121  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

112}
113
114function checkDocstring(name, value) {
115 if (
116 !value ||
117 (value.length < 1 && !excludedDocProps.includes(name.split('.').pop()))
118 ) {
119 logError(`\nDescription for ${name} is missing!`);
120 }
121}
122
123function docstringWarning(doc) {
124 checkDocstring(doc.displayName, doc.description);

Callers 1

docstringWarningFunction · 0.85

Calls 2

popMethod · 0.80
logErrorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…