Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <pingsutw@apache.org>
  • Loading branch information
pingsutw committed Sep 25, 2024
1 parent 5e4076d commit 6b16677
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/flytekit-spark/flytekitplugins/spark/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ def pre_execute(self, user_params: ExecutionParameters) -> ExecutionParameters:
self.sess = sess_builder.getOrCreate()

if (
ctx.serialization_settings.fast_serialization_settings.enabled
ctx.serialization_settings
and ctx.serialization_settings.fast_serialization_settings
and ctx.serialization_settings.fast_serialization_settings.enabled
and ctx.execution_state
and ctx.execution_state.mode == ExecutionState.Mode.TASK_EXECUTION
):
Expand Down

0 comments on commit 6b16677

Please sign in to comment.