MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / _make_col

Method _make_col

tests/metadata.py:194–196  ·  view source on GitHub ↗
(self, sch, tbl, col)

Source from the content-addressed store, hash-verified

192 return completers
193
194 def _make_col(self, sch, tbl, col):
195 defaults = self.metadata.get('defaults', {}).get(sch, {})
196 return (sch, tbl, col, 'text', (tbl, col) in defaults, defaults.get((tbl, col)))
197
198
199 def get_completer(self, settings=None, casing=None): # pylint: disable=too-many-locals

Callers 1

get_completerMethod · 0.95

Calls 1

getMethod · 0.80

Tested by

no test coverage detected