Is there a way to perform "surgery" on a workflow ...
# flyte-support
h
Is there a way to perform "surgery" on a workflow execution, e.g. using flyteremote, to change the output of a task to something else and then relaunch/recover? I realize this goes against the principle of reproducibility a bit, but it could be quite expedient for debugging and one-off situations.
h
Unfortunately this is not possible, but for regular python tasks you should be able to use the
@vscode
decorator: https://docs.flyte.org/en/latest/flytesnacks/examples/flyteinteractive_plugin/vscode.html#flyteinteractive-vscode-decorator
f
You can perform surgery and launch parts
What I sometimes do is fetch the tasks and create a workflow in a notebook from the tasks that I want to re-run use the data from a previous execution and go
h
right, thanks @freezing-airport-6809, so the part i am trying to avoid is having to re-assemble that workflow by hand in a notebook...
Taking a look at that vscode decorator
f
Ya that works too