Skip to content

Commit

Permalink
rm freshness condition, amp
Browse files Browse the repository at this point in the history
  • Loading branch information
benpankow committed Nov 15, 2024
1 parent 5f4b4a9 commit 6400019
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions python_modules/dagster/dagster/_core/definitions/asset_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,6 @@ def replace_attributes(
skippable: bool = ...,
group_name: Optional[str] = ...,
code_version: Optional[str] = ...,
freshness_policy: Optional[FreshnessPolicy] = ...,
automation_condition: Optional[AutomationCondition] = ...,
owners: Optional[Sequence[str]] = ...,
tags: Optional[Mapping[str, str]] = ...,
kinds: Optional[Set[str]] = ...,
Expand All @@ -326,12 +324,8 @@ def replace_attributes(
skippable=skippable if skippable is not ... else self.skippable,
group_name=group_name if group_name is not ... else self.group_name,
code_version=code_version if code_version is not ... else self.code_version,
freshness_policy=freshness_policy
if freshness_policy is not ...
else self.freshness_policy,
automation_condition=automation_condition
if automation_condition is not ...
else self.automation_condition,
freshness_policy=self.freshness_policy,
automation_condition=self.automation_condition,
owners=owners if owners is not ... else self.owners,
tags=tags if tags is not ... else current_tags_without_kinds,
kinds=kinds if kinds is not ... else self.kinds,
Expand Down

0 comments on commit 6400019

Please sign in to comment.