Macro

Inheritance diagram of dbt_contracts.contracts.terms.macro.HasType

Classes

HasType()

Check whether macro arguments have a data type configured in their properties.

class dbt_contracts.contracts.terms.macro.HasType

Bases: ChildContractTerm

Check whether macro arguments have a data type configured in their properties.

run(item: ItemT, context: ContractContext, parent: ParentT = None) → bool

Validate the context before running the term.