Conditions

Inheritance diagram of dbt_contracts.contracts.conditions.ContractCondition

Classes

ContractCondition()

Conditional logic to apply to items within the manifest to determine whether they should be processed by subsequent terms.

class dbt_contracts.contracts.conditions.ContractCondition

Bases: ContractPart, Generic

Conditional logic to apply to items within the manifest to determine whether they should be processed by subsequent terms.

abstractmethod run(item: T) → bool

Run this condition to check whether the given item should be processed.

Modules

properties

source