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

Function _get_pin_value

pywebio/pin.py:262–267  ·  view source on GitHub ↗
(name, strict)

Source from the content-addressed store, hash-verified

260
261@chose_impl
262def _get_pin_value(name, strict):
263 send_msg('pin_values', spec=dict(names=[name]))
264 data = yield get_client_val()
265 if strict:
266 assert name in data, 'pin widget "%s" doesn\'t exist.' % name
267 return data.get(name)
268
269
270@chose_impl

Callers 1

__getitem__Method · 0.85

Calls 3

send_msgFunction · 0.85
get_client_valFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…