From a553ee1caffb264a03c4b5dd36629f71a2b654dc Mon Sep 17 00:00:00 2001 From: Owen Kephart Date: Mon, 23 Dec 2024 10:45:19 -0500 Subject: [PATCH] [core-api][experimental] AMP --- .../dagster/_core/definitions/auto_materialize_policy.py | 4 ++-- .../dagster/_core/definitions/auto_materialize_rule_impls.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python_modules/dagster/dagster/_core/definitions/auto_materialize_policy.py b/python_modules/dagster/dagster/_core/definitions/auto_materialize_policy.py index 8add26d8a8f12..e25c3b345a319 100644 --- a/python_modules/dagster/dagster/_core/definitions/auto_materialize_policy.py +++ b/python_modules/dagster/dagster/_core/definitions/auto_materialize_policy.py @@ -2,7 +2,7 @@ from typing import TYPE_CHECKING, AbstractSet, Dict, FrozenSet, NamedTuple, Optional, Sequence import dagster._check as check -from dagster._annotations import deprecated, experimental, public +from dagster._annotations import deprecated, public from dagster._serdes.serdes import ( NamedTupleSerializer, UnpackContext, @@ -54,11 +54,11 @@ class AutoMaterializePolicyType(Enum): LAZY = "LAZY" -@experimental @whitelist_for_serdes( old_fields={"time_window_partition_scope_minutes": 1e-6}, serializer=AutoMaterializePolicySerializer, ) +@deprecated(breaking_version="1.10.0") class AutoMaterializePolicy( NamedTuple( "_AutoMaterializePolicy", diff --git a/python_modules/dagster/dagster/_core/definitions/auto_materialize_rule_impls.py b/python_modules/dagster/dagster/_core/definitions/auto_materialize_rule_impls.py index 7ad2542f29331..6a93a05079d95 100644 --- a/python_modules/dagster/dagster/_core/definitions/auto_materialize_rule_impls.py +++ b/python_modules/dagster/dagster/_core/definitions/auto_materialize_rule_impls.py @@ -14,7 +14,7 @@ Set, ) -from dagster._annotations import experimental +from dagster._annotations import deprecated from dagster._core.asset_graph_view.serializable_entity_subset import SerializableEntitySubset from dagster._core.definitions.auto_materialize_rule import AutoMaterializeRule from dagster._core.definitions.auto_materialize_rule_evaluation import ( @@ -221,7 +221,7 @@ def evaluate_for_asset(self, context: "AutomationContext") -> "AutomationResult" @whitelist_for_serdes -@experimental +@deprecated(breaking_version="1.10.0") class AutoMaterializeAssetPartitionsFilter( NamedTuple( "_AutoMaterializeAssetPartitionsFilter",