Hey all, is there a way to view the source code of...
# flyte-support
b
Hey all, is there a way to view the source code of a registered workflow after it is registered?
f
Haha folks have asked about this, there is a way. Infact @flaky-parrot-42438 just merged something into Flyte devs also maybe @damp-lion-88352
I do feel we can add it to the description of a Task though
πŸ‘ 1
b
Great. Our dev ops guy didn't implement ci registration yet so it's a real life saver πŸ˜ƒ
f
Wdym
If you have ideas let’s put them together about usecases
b
I mean that the standard way to link between a task and it's code would be to register during ci, which will link the task version with the commit_hash. I assume that's what most users do.
f
Yes - that is somewhat supported already, if you add some docs link.
b
wdym?
b
K, thanks! Hope I'll get an answer soon about retrieving the task's source code
g
b
@glamorous-carpet-83516 Thx but i'm afraid this doesn't help. I'll explain my case - I have a task version that yielded 88% accuracy, which then changed and started to yield 50% in later versions. I don't have a reference to the source code of the 88% accuracy task. I can only treat this task version as a black box, which I hoped flyte can help me retrieve and deserialize/restore the code from.
Actually, I've just downloaded the tar.gz file with all the task's code, pretty straight forward. Thanks anyways guys!
πŸ™ 1
f
Yes we should link to the fast registered tarball
πŸ‘ 1