Hi, community! I'm currently researching how "flyt...
# ask-the-community
l
Hi, community! I'm currently researching how "flytekit/bin/entrypoint.py" functions. I have a question about a specific line. Why isn't the line written as:
Copy code
ssb.version = ssb.version or tk_version
Here's the link to the source code for reference. Thanks a lot! https://github.com/flyteorg/flytekit/blob/8cdb0f833ec6aa2a5ec88678245cc2c3da08c8d7/flytekit/bin/entrypoint.py#L291C9-L291C33
k
great question, a small comment would have helped. But, this is because task version cannot change - also can you check if ssb.version is actually available?
l
Thanks a lot! And yes, ssb.version is available!
k
at the runtime
l
Ok I will test it, and tell you later!
Thanks a lot!