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

Function remove

pywebio/output.py:329–337  ·  view source on GitHub ↗

Remove the specified scope :param str scope: Target scope name. Default is the current scope.

(scope: str = None)

Source from the content-addressed store, hash-verified

327
328
329def remove(scope: str = None):
330 """Remove the specified scope
331
332 :param str scope: Target scope name. Default is the current scope.
333 """
334 if scope is None:
335 scope = get_scope()
336 assert scope != 'ROOT', "Can not remove `ROOT` scope."
337 send_msg('output_ctl', dict(remove=scope2dom(scope)))
338
339
340def scroll_to(scope: str = None, position: str = Position.TOP):

Callers 4

targetFunction · 0.85
basic_outputFunction · 0.85
mainFunction · 0.85
after_exitFunction · 0.85

Calls 3

get_scopeFunction · 0.85
send_msgFunction · 0.85
scope2domFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…