We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90c8da3 commit 0082555Copy full SHA for 0082555
tfx/orchestration/portable/launcher.py
@@ -193,9 +193,15 @@ def __init__(
193
self._driver_operators.update(custom_driver_operators or {})
194
195
self._executor_operator = None
196
+ # redundant line for external usage.
197
+ executor_operator = None
198
if executor_spec:
- self._executor_operator = self._executor_operators[type(executor_spec)](
- executor_spec, platform_config)
199
+ if executor_operator is None:
200
+ executor_operator = self._executor_operators[type(executor_spec)](
201
+ executor_spec=executor_spec, platform_config=platform_config
202
+ )
203
+ self._executor_operator = executor_operator
204
+
205
self._output_resolver = outputs_utils.OutputsResolver(
206
pipeline_node=self._pipeline_node,
207
pipeline_info=self._pipeline_info,
0 commit comments