Customizing automation conditions
Declarative Automation includes pre-built conditions to handle common use cases, such as executing on a periodic schedule or whenever an upstream dependency updates, but the core system is extremely flexible and can be tailored to your specific needs.
Each AutomationCondition
consists of a set of operands and operators that you can combine to suit your needs. For a full list of these operands, operators, and composition conditions, see "Automation condition operands and operators".
Automation conditions operands and operators
Operands
Example customizations
Ignoring missing upstream data when using AutomationCondition.eager()
Describing conditions with labels
When there are a large number of sub-conditions that make up an , it can be difficult to understand and troubleshoot the condition. To make conditions easier to understand, you can attach labels to sub-conditions, which will then be displayed in the Dagster UI.
Arbitrary Python automation conditions (Experimental)
Some automation use cases require custom business logic that cannot be expressed with off-the-shelf components. In these cases, you can define AutomationConditions which execute arbitrary python code, and compose them with the built-in conditions.