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.
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.