Source

Inheritance diagram of dbt_contracts.contracts.conditions.source.IsEnabledCondition

Classes

IsEnabledCondition()

Filter sources taking only those which are enabled.

class dbt_contracts.contracts.conditions.source.IsEnabledCondition

Bases: ContractCondition

Filter sources taking only those which are enabled.

run(item: SourceDefinition) → bool

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