MCPcopy Create free account
hub / github.com/dataease/SQLBot / __init__

Method __init__

backend/common/utils/whitelist.py:45–48  ·  view source on GitHub ↗
(self, paths: List[str] = None)

Source from the content-addressed store, hash-verified

43
44class WhitelistChecker:
45 def __init__(self, paths: List[str] = None):
46 self.whitelist = paths or wlist
47 self._compiled_patterns: List[Pattern] = []
48 self._compile_patterns()
49
50 def _compile_patterns(self) -> None:
51 for pattern in self.whitelist:

Callers

nothing calls this directly

Calls 1

_compile_patternsMethod · 0.95

Tested by

no test coverage detected