Skip to content

Commit

Permalink
pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Dec 8, 2023
1 parent 65c1226 commit f24d391
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python_modules/dagster/dagster/_core/pipes/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
from dagster._core.errors import DagsterPipesExecutionError
from dagster._core.events import EngineEventData
from dagster._core.execution.context.compute import OpExecutionContext
from dagster._core.execution.context.invocation import RunlessOpExecutionContext
from dagster._core.execution.context.invocation import BaseRunlessContext
from dagster._utils.error import (
ExceptionInfo,
SerializableErrorInfo,
Expand Down Expand Up @@ -388,8 +388,8 @@ def build_external_execution_context_data(
_convert_time_window(partition_time_window) if partition_time_window else None
),
run_id=context.run_id,
job_name=None if isinstance(context, RunlessOpExecutionContext) else context.job_name,
retry_number=0 if isinstance(context, RunlessOpExecutionContext) else context.retry_number,
job_name=None if isinstance(context, BaseRunlessContext) else context.job_name,
retry_number=0 if isinstance(context, BaseRunlessContext) else context.retry_number,
extras=extras or {},
)

Expand Down

0 comments on commit f24d391

Please sign in to comment.