Join Slack
Powered by
<@UNR3C6Y4T> <@U0265RTUJ5B>: do y'all think this i...
# flytekit
j
jeev
02/15/2022, 6:50 PM
@Yee
@Eduardo Apolinario (eapolinario)
: do y'all think this is still necessary?
https://github.com/flyteorg/flytekit/blob/170f5af72b52997730bd2f8c83596418a632683a/plugins/flytekit-k8s-pod/flytekitplugins/pod/task.py#L122
y
Yee
02/15/2022, 6:54 PM
just ignore pod
Yee
02/15/2022, 6:54 PM
and run function right?
Yee
02/15/2022, 6:55 PM
i defer to
@Ketan (kumare3)
- I think this is one of those cases where we should ignore correctness and err on the side of user-friendliness
j
jeev
02/15/2022, 6:56 PM
we can leave it up to the users right?
jeev
02/15/2022, 6:57 PM
we're looking into overriding this method with the base task method haha
jeev
02/15/2022, 6:57 PM
kinda hacky
k
Ketan (kumare3)
02/15/2022, 6:59 PM
I think we should run it
Ketan (kumare3)
02/15/2022, 6:59 PM
At some point we used to run user code, dont know why the exception got added again
j
jeev
02/15/2022, 7:00 PM
@Greg Gydush
jeev
02/15/2022, 7:00 PM
can we open a PR to toss that method in pod tasks?
k
Ketan (kumare3)
02/15/2022, 7:00 PM
👍
j
jeev
02/15/2022, 7:00 PM
or maybe we can add a warning
jeev
02/15/2022, 7:01 PM
and run it anyway?
jeev
02/15/2022, 7:01 PM
wdyt
@Greg Gydush
k
Ketan (kumare3)
02/15/2022, 7:01 PM
yes i think warning and running it would be great
👍 2
g
Greg Gydush
02/15/2022, 7:38 PM
Added here:
https://github.com/flyteorg/flytekit/pull/852
j
jeev
02/15/2022, 8:05 PM
lgtm! thanks
@Greg Gydush
y
Yee
02/15/2022, 9:49 PM
what version are you guys on?
Yee
02/15/2022, 9:49 PM
i’ll cherry pick the pr
j
jeev
02/15/2022, 9:50 PM
we have different teams that are on different versions
jeev
02/15/2022, 9:50 PM
but we can consolidate
jeev
02/15/2022, 9:50 PM
ok to release to latest version
jeev
02/15/2022, 9:50 PM
wdyt
@Greg Gydush
g
Greg Gydush
02/15/2022, 9:50 PM
agreed, cherrypicking to latest would be perfect
y
Yee
02/15/2022, 9:52 PM
https://github.com/flyteorg/flytekit/pull/853
🙏 1
Yee
02/15/2022, 9:53 PM
@Eduardo Apolinario (eapolinario)
+1?
👍 1
169
Views
Open in Slack
Previous
Next