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

Method _has_column

xtop/core/query_builder.py:121–125  ·  view source on GitHub ↗
(self, source: str, column: str)

Source from the content-addressed store, hash-verified

119 return lookup.get(column.lower())
120
121 def _has_column(self, source: str, column: str) -> bool:
122 lookup = self._schema_lookup.get(source)
123 if lookup is None:
124 return True
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)

Callers 3

_has_columnsMethod · 0.95
_column_exprMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected