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 Jan 18, 2025
1 parent 717a8bd commit b187ea9
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 @@ -3,7 +3,7 @@
from typing import TYPE_CHECKING, AbstractSet, NamedTuple, Optional # noqa: UP035

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 @@ -55,11 +55,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 @@ -4,7 +4,7 @@
from collections.abc import Iterable, Mapping, Sequence
from typing import TYPE_CHECKING, AbstractSet, NamedTuple, Optional # noqa: UP035

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 @@ -211,7 +211,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 b187ea9

Please sign in to comment.