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

Function _include_table

explorer/schema.py:24–27  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

22
23
24def _include_table(t):
25 if _get_includes() is not None:
26 return any([t.startswith(p) for p in _get_includes()])
27 return not any([t.startswith(p) for p in _get_excludes()])
28
29
30def connection_schema_cache_key(connection_id):

Callers 1

build_schema_infoFunction · 0.85

Calls 2

_get_includesFunction · 0.85
_get_excludesFunction · 0.85

Tested by

no test coverage detected