MCPcopy Index your code
hub / github.com/tanelpoder/0xtools / close

Method close

xtop/core/data_source.py:47–51  ·  view source on GitHub ↗

Close DuckDB connection

(self)

Source from the content-addressed store, hash-verified

45 return self.conn
46
47 def close(self):
48 """Close DuckDB connection"""
49 if self.conn:
50 self.conn.close()
51 self.conn = None
52
53 def discover_columns(self) -> Dict[str, Dict[str, str]]:
54 """

Callers 3

__exit__Method · 0.95
_read_args_from_filesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected