https://flyte.org logo
s

Sanjay Chouhan

09/29/2022, 8:29 AM
When registering workflow with the pyflyte register command. The workflow name becomes script_name.workflow_name on console. Is there any way to ignore the script file name? I want the workflow name to be just workflow_name. For example, for this https://docs.flyte.org/en/latest/getting_started/index.html#create-a-workflow the workflow name will be example.wf instead of wf.
s

Samhita Alla

09/29/2022, 10:13 AM
I don’t think that’s possible. You can have multiple workflows with the same name in different scripts. So it’s a good practice to identify them by their path. The path goes until the parent init.py file.
s

Sanjay Chouhan

09/29/2022, 1:35 PM
@Samhita Alla Ok thanks
k

Ketan (kumare3)

09/29/2022, 1:37 PM
This is a feature request - to allow a user friendly name?
s

Sanjay Chouhan

09/29/2022, 2:15 PM
@Ketan (kumare3) I think it's a good feature.
k

Ketan (kumare3)

09/29/2022, 11:19 PM
@Sanjay Chouhan can you please create an issue in Flyte - https://github.com/flyteorg/flyte/issues
s

Sanjay Chouhan

09/30/2022, 4:05 AM
2 Views