https://flyte.org logo
#ask-the-community
Title
# ask-the-community
c

Cornelis Boon

03/26/2024, 4:14 PM
Is there a way to rename workflows or register workflows under a different name than the
package.file.function
format used now? Currently using
pyflyte register
. Would I be able to achieve this with
pyflyte package
->
flytectl register
?
y

Yee

03/26/2024, 5:12 PM
not currently today. not for the python function tasks at least. can you elaborate a bit on what you’d like to see?
the task (any entity really) needs to be unique identifiable in flyte (given project, domain, and version) and in python, importlib has to know how to find the task in question
c

Cornelis Boon

03/26/2024, 5:15 PM
That makes sense. Mostly asking because I'm running into a name limit of 63 characters for the execution name (part of the execution name is the workflow name currently)
y

Yee

03/26/2024, 5:17 PM
let me take a look in a bit… that feels a bit weird.
c

Cornelis Boon

03/26/2024, 5:18 PM
My workflow name happens to be 38 characters, so that's already a big part. Of course I could put the things I now put in the run into labels/annotations and so on too (which may actually be a better idea now that I think of it)
2 Views