Skip to content

Commit

Permalink
[core-api][experimental] AMP
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenKephart committed Dec 31, 2024
1 parent 7611d3a commit 3c155bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 3c155bd

Please sign in to comment.