def _include_rule_matches()

in src/databao_context_engine/plugins/databases/introspection_scope_matcher.py [0:0]


    def _include_rule_matches(self, rule: ScopeIncludeRule, 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
        return True