From 8bfc58a618eb07653627d11715d75a5267fb872d Mon Sep 17 00:00:00 2001 From: prha <1040172+prha@users.noreply.github.com> Date: Thu, 30 May 2024 12:43:50 -0700 Subject: [PATCH] Update python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_asset_decorator.py Co-authored-by: Rex Ledesma --- .../dagster_dbt_tests/core/test_asset_decorator.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_asset_decorator.py b/python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_asset_decorator.py index 98fa93f2a4238..a48b040b52fbe 100644 --- a/python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_asset_decorator.py +++ b/python_modules/libraries/dagster-dbt/dagster_dbt_tests/core/test_asset_decorator.py @@ -325,15 +325,9 @@ def test_retry_policy( test_jaffle_shop_manifest: Dict[str, Any], retry_policy: Optional[RetryPolicy], ) -> None: - class CustomDagsterDbtTranslator(DagsterDbtTranslator): - def get_freshness_policy(self, _: Mapping[str, Any]) -> Optional[FreshnessPolicy]: - # Disable freshness policies when using static partitions - return None - @dbt_assets( manifest=test_jaffle_shop_manifest, retry_policy=retry_policy, - dagster_dbt_translator=CustomDagsterDbtTranslator(), ) def my_dbt_assets(): ...