MCPcopy
hub / github.com/tanelpoder/0xtools / _describe

Method _describe

xtop/core/query_engine.py:359–361  ·  view source on GitHub ↗
(q: str)

Source from the content-addressed store, hash-verified

357
358 # Get schema using DESCRIBE, with parquet fallback if CSV not available
359 def _describe(q: str):
360 conn = self.data_source.connect()
361 return conn.execute(f"DESCRIBE ({q} LIMIT 0)").fetchall()
362 try:
363 result = _describe(query)
364 except Exception as e:

Callers

nothing calls this directly

Calls 3

connectMethod · 0.80
fetchallMethod · 0.80
executeMethod · 0.45

Tested by

no test coverage detected