Skip to content

_resolve_change_behavior

Internal helper
This page documents an internal implementation helper, not a primary public API.
Source code in src/fabricops_kit/drift.py
184
185
186
187
188
189
def _resolve_change_behavior(is_warning: bool, is_blocking: bool) -> tuple[str, str]:
    if is_blocking:
        return "critical", "block"
    if is_warning:
        return "warning", "warn"
    return "info", "allow"