From 310782a508e1720699b0a8a9c21d37781e1c5fdd Mon Sep 17 00:00:00 2001 From: JamieDeMaria Date: Thu, 4 Jan 2024 11:05:53 -0800 Subject: [PATCH] via op context --- .../dagster/dagster/_core/execution/context/compute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_modules/dagster/dagster/_core/execution/context/compute.py b/python_modules/dagster/dagster/_core/execution/context/compute.py index 2fafc2383e4de..4d2e23e394fe8 100644 --- a/python_modules/dagster/dagster/_core/execution/context/compute.py +++ b/python_modules/dagster/dagster/_core/execution/context/compute.py @@ -1468,7 +1468,7 @@ def latest_materialization_event( Returns: Optional[AssetMaterialization] """ - return self._step_execution_context.upstream_asset_materialization_events.get( + return self.op_execution_context._step_execution_context.upstream_asset_materialization_events.get( # noqa: SLF001 AssetKey.from_coercible(key) )