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

Function send_msg

pywebio/io_ctrl.py:209–211  ·  view source on GitHub ↗
(cmd, spec=None, task_id=None)

Source from the content-addressed store, hash-verified

207
208
209def send_msg(cmd, spec=None, task_id=None):
210 msg = dict(command=cmd, spec=spec, task_id=task_id or get_current_task_id())
211 get_current_session().send_task_command(msg)
212
213
214def single_input_kwargs(single_input_return):

Callers 15

input_updateFunction · 0.85
sendMethod · 0.85
input_controlFunction · 0.85
check_itemFunction · 0.85
input_event_handleFunction · 0.85
set_scopeFunction · 0.85
clearFunction · 0.85
removeFunction · 0.85
scroll_toFunction · 0.85
popupFunction · 0.85
close_popupFunction · 0.85
toastFunction · 0.85

Calls 3

get_current_task_idFunction · 0.85
get_current_sessionFunction · 0.85
send_task_commandMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…