cuddly-jelly-27016
07/15/2025, 4:07 AM@reference_task(
project="myproj",
domain="development",
name="workflow.test",
version="123456789",
)
def reftask(test: str) ->str:
...
the version keyword is required. To be able to get the latest version you need to fetch it using FlyteRemote. This adds complexity if you are using authentication or CICD.
It would simplify reference tasks to be able to leave the version keyword our in which case the latest version is used. if the user wants to explicitly specify the version they can.
### Provide a possible output or UX example
@reference_task(
project="myproj",
domain="development",
name="workflow.test",
)
def reftask(test: str) ->str:
...
### Are you sure this issue hasn't been raised already?
• Yes
### Have you read the Code of Conduct?
• Yes
flyteorg/flytecuddly-jelly-27016
07/15/2025, 4:07 AM