in src/databao_context_engine/plugins/databases/introspection_scope_matcher.py [0:0]
def _exclude_rule_excludes(self, rule: ScopeExcludeRule, catalog: str, schema: str) -> bool:
if rule.catalog is not None and not self._glob_match(rule.catalog, catalog):
return False
if rule.schemas is not None and not self._matches_any(rule.schemas, schema):
return False
if rule.except_schemas is not None and self._matches_any(rule.except_schemas, schema):
return False
return True