[flytekit] Pyflyte package needs to store serialization context #1359
Labels
enhancement
New feature or request
Epic: Interactive Experience
Everything from FlyteRemote to how to better support Jupyter/vscode development with Flyte
flytekit
FlyteKit Python related issue
Milestone
Motivation: Why do you think this is important?
We introduced the
pyflyte package
command to make the registration experience cleaner (by removing certain options for example). One of the examples that we removed was the--in-container-config-path
setting. This setting gets stored as theFLYTE_INTERNAL_CONFIGURATION_PATH
environment variable, which flytekit then looks up at run time to see where to load a configuration file.At run time, typically all the settings that flytekit needs is provided by Propeller (things like admin location, auth settings, etc.). However, there is one case where the compilation settings are required at run time: the non-default images that tasks may specify within a dynamic task. There are other serialization settings that might be useful (default resources, etc) but these are not as important. Currently, if users use
pyflyte package
, their dynamic tasks can only return tasks that also use the default image.Goal: What should the final outcome look like, ideally?
A way of capturing the serialization settings, most importantly the images, at pyflyte package time, that can be retrieved at dynamic task run time.
Broader config ticket.
#2214
The text was updated successfully, but these errors were encountered: