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

Method enable_context_manager

pywebio/io_ctrl.py:88–93  ·  view source on GitHub ↗
(self, container_selector=None, container_dom_id=None, after_exit=None)

Source from the content-addressed store, hash-verified

86 get_current_session()
87
88 def enable_context_manager(self, container_selector=None, container_dom_id=None, after_exit=None):
89 self.enabled_context_manager = True
90 self.container_selector = container_selector
91 self.container_dom_id = container_dom_id
92 self.after_exit = after_exit
93 return self
94
95 def __enter__(self):
96 if not self.enabled_context_manager:

Callers 6

_put_messageFunction · 0.80
put_loadingFunction · 0.80
put_collapseFunction · 0.80
put_scrollableFunction · 0.80
put_rowFunction · 0.80
put_columnFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected