MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / GetPinValues

Function GetPinValues

webiojs/src/models/pin.ts:21–29  ·  view source on GitHub ↗
(names: string[])

Source from the content-addressed store, hash-verified

19}
20
21export function GetPinValues(names: string[]) {
22 let values: { [k: string]: any } = {};
23 for (let name of names) {
24 let val = _getPinValue(name);
25 if (val !== undefined)
26 values[name] = val;
27 }
28 return values;
29}
30
31export function PinUpdate(name: string, attributes: { [k: string]: any }) {
32 name2input[name].update_input({attributes: attributes});

Callers 1

handle_messageMethod · 0.90

Calls 1

_getPinValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…