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

Method _has_columns

xtop/core/query_builder.py:127–128  ·  view source on GitHub ↗
(self, source: str, columns: List[str])

Source from the content-addressed store, hash-verified

125 return column.lower() in lookup
126
127 def _has_columns(self, source: str, columns: List[str]) -> bool:
128 return all(self._has_column(source, col) for col in columns)
129
130 def _column_expr(self, source: str, alias: str, column: str, output_alias: str) -> str:
131 """Return a projection expression respecting schema availability."""

Callers 1

Calls 1

_has_columnMethod · 0.95

Tested by

no test coverage detected