Skip to content

check_exposure_parent_materializations

This check identifis and exposures that query models which are not materialized. This helps ensure that the associated dashboard or other interface represented by the exposure will run efficiently.

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["config"].get("materialized") not in ("view", "ephemeral")