Skip to content

check_too_many_joins

This check identifies models with a large number of joins.

Version History

Added in Debby v0.2.0

Parameters

Name Default Type Description
max_joined_models 7 int The maximum number of upstream models allowed

Info

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

Source

def check(model: dict, parents: list[dict], max_joined_models: int = 7):
    assert len(parents) <= max_joined_models