"""
Legacy compatibility wrapper that delegates to the fully localized backend_config module.
"""

from __future__ import annotations

from typing import Iterable

from ..model import Finding, ScanRequest
from .backend_config import evaluate_backend_configuration as _evaluate_backend_configuration


def evaluate_backend_configuration(request: ScanRequest) -> Iterable[Finding]:
    """Compatibility wrapper kept for backwards-compatibility with legacy imports."""
    return _evaluate_backend_configuration(request)
