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

Function go_app

pywebio/session/__init__.py:536–544  ·  view source on GitHub ↗

Jump to another task of a same PyWebIO application. Only available in PyWebIO Server mode :param str name: Target PyWebIO task name. :param bool new_window: Whether to open in a new window, the default is `True` See also: :ref:`Server mode `

(name, new_window=True)

Source from the content-addressed store, hash-verified

534
535
536def go_app(name, new_window=True):
537 """Jump to another task of a same PyWebIO application. Only available in PyWebIO Server mode
538
539 :param str name: Target PyWebIO task name.
540 :param bool new_window: Whether to open in a new window, the default is `True`
541
542 See also: :ref:`Server mode <server_and_script_mode>`
543 """
544 run_js('javascript:WebIO.openApp(app, new_window)', app=name, new_window=new_window)
545
546
547# session info data object

Callers 1

targetFunction · 0.85

Calls 1

run_jsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…