Skip to content

check_public_models_without_contract

This check identifies any public models that don't specify a contract

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(model: dict):
    if model["access"] == "public":
        assert model["config"]["contract"]["enforced"] is True