MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / clear

Method clear

gui/utils.py:255–260  ·  view source on GitHub ↗

Clear all items.

(self)

Source from the content-addressed store, hash-verified

253 self._parent_canvas.yview_scroll(3, "units")
254
255 def clear(self) -> None:
256 """Clear all items."""
257 for item in self.items:
258 item.destroy()
259 self.items.clear()
260 self.selected_index = None
261
262 def _select(self, index: int) -> None:
263 """Handle item selection."""

Callers 15

setup_launcher_loggingFunction · 0.45
perform_auth_rotationFunction · 0.45
setup_server_loggingFunction · 0.45
_create_module_loggerMethod · 0.45
_cleanupMethod · 0.45
llm_mock.pyFile · 0.45
setup_launcher_loggingFunction · 0.45
setUpMethod · 0.45
tearDownMethod · 0.45
setup_teardownFunction · 0.45

Calls

no outgoing calls

Tested by 15

setUpMethod · 0.36
tearDownMethod · 0.36
setup_teardownFunction · 0.36
reset_global_stateFunction · 0.36
setUpMethod · 0.36
setUpMethod · 0.36
run_testMethod · 0.36