Greg Gydush
04/21/2022, 8:49 PMfrom flytekit.configuration import internal
internal.VERSION.get()
Potential new way (after 0.32)
from flytekit.configuration.file import ConfigEntry, LegacyConfigEntry
ConfigEntry(LegacyConfigEntry("internal", "version")).read()
Yee
pyflyte run
experience it makes even less sense.flytectl
(or in the case of pyflyte run
just overridden at grpc call time)Ketan (kumare3)
Greg Gydush
04/21/2022, 11:17 PMKetan (kumare3)
Greg Gydush
04/21/2022, 11:19 PMKetan (kumare3)
Greg Gydush
04/22/2022, 4:36 PMfrom flytekit.configuration.file import ConfigEntry, LegacyConfigEntry
ConfigEntry(LegacyConfigEntry("internal", "version")).read()
^ will this no longer workYee
Greg Gydush
04/22/2022, 6:31 PMYee
Greg Gydush
04/22/2022, 6:32 PMYee
Greg Gydush
04/22/2022, 6:32 PMbut that is your own optionThis was not my own option is what I’m saying. This was an internal variable that I’d still like to use. If I cannot, I will come up with an alternative (totally fine)
Yee
pyflyte package
and then flytectl register
it would not have been used, even though the config object was still in the code.Greg Gydush
04/22/2022, 6:34 PMYee
austin
04/26/2022, 9:54 PM<http://flyte.lyft.com|flyte.lyft.com>
…? ( or is that on purpose ? )