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

Method close

mycli/sqlexecute.py:632–637  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

630 return ctx
631
632 def close(self) -> None:
633 if self.conn is not None:
634 try:
635 self.conn.close()
636 except pymysql.err.Error:
637 pass

Callers 2

_bg_refreshMethod · 0.95
connectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected