TEAMSchools / teamster

A modern data stack for K-12 education
https://teamschools.github.io/teamster/
GNU General Public License v3.0
10 stars 1 forks source link

Migrate from AutoMaterializePolicy to AutomationCondition #1499

Closed cbini closed 1 month ago

cbini commented 2 months ago

https://github.com/dagster-io/dagster/discussions/23495

AutoMaterializePolicy, AutoMaterializeRule, and the auto_materialize_policy arguments to @asset and AssetSpec have been marked as deprecated, and the new AutomationCondition API and automation_condition argument should be used instead. These changes are intended to provide a more consistent, composable, and flexible experience for users interested in asset-focused automation. A full migration guide can be found https://github.com/dagster-io/dagster/discussions/23495, and a more detailed explanation of the thought process behind these changes can be found in the https://github.com/dagster-io/dagster/discussions/22811.

AutoMaterializePolicys and AutomationConditions can interoperate without issue, meaning you do not need to migrate all assets at the same time.