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()
Greg Gydush
04/21/2022, 8:50 PMYee
Yee
pyflyte run
experience it makes even less sense.Yee
Yee
Yee
Yee
flytectl
(or in the case of pyflyte run
just overridden at grpc call time)Ketan (kumare3)
Greg Gydush
04/21/2022, 11:17 PMGreg Gydush
04/21/2022, 11:18 PMKetan (kumare3)
Greg Gydush
04/21/2022, 11:19 PMGreg Gydush
04/21/2022, 11:23 PMGreg Gydush
04/22/2022, 3:13 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
Yee
Yee
Yee
Greg Gydush
04/22/2022, 6:31 PMYee
Greg Gydush
04/22/2022, 6:32 PMYee
Greg Gydush
04/22/2022, 6:32 PMGreg Gydush
04/22/2022, 6:33 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
Yee
austin
04/26/2022, 9:54 PM<http://flyte.lyft.com|flyte.lyft.com>
…? ( or is that on purpose ? )