Skip to content

check_exposure_parent_access_level

This check ensures exposures do not depend on models that have been marked as "private"

Version History

Added in Debby v0.3.0

Parameters

This check does not support any custom parameters.

Info

For more information about how to set custom parameters for a check, see the documentation on configuration.

Source

def check(exposure: dict, parents: list[dict]):
    for parent in parents:
        assert parent.get("access") != "private"