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) )