MCPcopy Index your code
hub / github.com/dbcli/mycli / close

Method close

mycli/client.py:200–204  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

198 special.set_destructive_keywords(self.destructive_keywords)
199
200 def close(self) -> None:
201 if hasattr(self, 'schema_prefetcher'):
202 self.schema_prefetcher.stop()
203 if self.sqlexecute is not None:
204 self.sqlexecute.close()
205
206 def run_cli(self) -> None:
207 repl_package.main_repl(self)

Callers 6

run_from_cli_argsFunction · 0.45
_runMethod · 0.45
close_teeFunction · 0.45
unset_once_if_writtenFunction · 0.45

Calls 1

stopMethod · 0.80

Tested by

no test coverage detected