[Core Feature] [flytekit] Run dispatch_execute
and trigger type engine during local task execution
#1032
Labels
Milestone
Motivation: Why do you think this is important?
Generally we made an effort during the development of flytekit to make the local testing experience as similar to what happens in a real backend run as possible. This was not done in one case - local task execution.
In local task execution, it was originally thought to be a feature that when an
@task
decorated function was run, say inside a unit test, flytekit steps completely out of the way and the raw function is just run.More and more, this seems like a mistake.
FlyteFile
,FlyteDirectory
, andFlyteSchema
) behave differently given 1.Goal: What should the final outcome look like, ideally?
The behavior for running a task locally by itself and running a task locally inside a workflow should be the same.
The text was updated successfully, but these errors were encountered: