acoustic-carpenter-78188
11/02/2023, 9:28 PMLaunchPlan class does the patching, overwriting the execute function effectively, it doesn't work on launch plans today (which don't have an execute function because *call*'s are dispatched to the underlying workflow). Can you try to think of a way around this?
Also as part of this, let's rename the task_mock function as well, it's already a misnomer because it's already capable of patching workflows. Think of an appropriate name, but also, let's keep the task_mock alias in flytekit/__init__.py so that we don't break existing users.
flyteorg/flyteacoustic-carpenter-78188
11/02/2023, 9:28 PM