From 5aa499aed6c6ea5e2159a61ac4acf26c84a94379 Mon Sep 17 00:00:00 2001 From: ggydush-fn Date: Tue, 15 Feb 2022 11:29:15 -0800 Subject: [PATCH] Pass in context --- plugins/flytekit-k8s-pod/flytekitplugins/pod/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/flytekit-k8s-pod/flytekitplugins/pod/task.py b/plugins/flytekit-k8s-pod/flytekitplugins/pod/task.py index 2649ab3f738..e9d7c93d955 100644 --- a/plugins/flytekit-k8s-pod/flytekitplugins/pod/task.py +++ b/plugins/flytekit-k8s-pod/flytekitplugins/pod/task.py @@ -124,7 +124,7 @@ def local_execute(self, ctx: FlyteContext, **kwargs) -> Union[Tuple[Promise], Pr logger.warning( "Running pod task locally. Local environment may not match pod environment which may cause issues." ) - return super().local_execute(**kwargs) + return super().local_execute(ctx=ctx, **kwargs) TaskPlugins.register_pythontask_plugin(Pod, PodFunctionTask)