#210 [Breaking] Removes the need for `add_task` in TaskEnvironment
Pull request opened by
kumare3
tk = flyte.ContainerTask(...)
env = flyte.from_tasks("my_env", tk)
This makes it consistent that everytime a Object task is created it can be added to an environment and every environment has one and only one image
All Environments will now have one image and only one image. An environment has some common properties and 3 most important ones are
1. Name,
2. Image
3. Depends_on
ImageCache is just a list of images per environment now.
flyteorg/flyte-sdk