Hi! When calling <fetch_workflow>, Is there a way ...
# flyte-support
h
Hi! When calling fetch_workflow, Is there a way to identify 1. This workflow exist but no version 2. This workflow isn't existed
g
1. if version is not provided, flytekit will fetch latest version of workflow 2. IIRC, if workflow doesn’t exist, flytekit will raise an exception (entityNonFound)
h
Thanks Kevin. For 1, "no version" means zero version for that workflow. But I was thinking is this even possible? It seems that when you create a workflow, you will have to create a version of the workflow at the same time.
g
it’s not possible. every entity in flyte has a version
🙏 1
👍🏼 1