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)
| 534 | |
| 535 | |
| 536 | def 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 |