MCPcopy Create free account
hub / github.com/explorerhq/sql-explorer / _get_headers

Method _get_headers

explorer/models.py:299–302  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

297 return [str(h) for h in self.headers]
298
299 def _get_headers(self):
300 return [
301 ColumnHeader(d[0]) for d in self._description
302 ] if self._description else [ColumnHeader("--")]
303
304 def _get_numerics(self):
305 if hasattr(self.connection.Database, "NUMBER"):

Callers 2

__init__Method · 0.95

Calls 1

ColumnHeaderClass · 0.85

Tested by 1