<#5895 Reference task to fetch latest version by d...
# flyte-github
c
#5895 Reference task to fetch latest version by default Pull request opened by featherchen Tracking issue Related to #5825 Why are the changes needed? When task version is not specified (i.e. ""), we should return the latest one when
getTask
is called What changes were proposed in this pull request? When the version is "", we fetch DB directly to get the latest task. Also remove the UT that check whether version is empty, since this situation is allowed now. How was this patch tested? By unit test (testGetTask) Setup process Screenshots Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. Related PRs Docs link flyteorg/flyte