MCPcopy Create free account
hub / github.com/dialect-app/dialect / on_translator_loading

Method on_translator_loading

dialect/main.py:63–69  ·  view source on GitHub ↗
(_win, _pspec)

Source from the content-addressed store, hash-verified

61
62 def do_activate(self):
63 def on_translator_loading(_win, _pspec):
64 if self.window and not self.window.translator_loading:
65 # Remove signal handler
66 if self._signal_handler:
67 self.window.disconnect(self._signal_handler)
68 # Process CLI args
69 self.process_command_line()
70
71 self.window = self.props.active_window # type: ignore
72

Callers

nothing calls this directly

Calls 1

process_command_lineMethod · 0.95

Tested by

no test coverage detected