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
?
t
thankful-minister-83577
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?
thankful-minister-83577
03/26/2024, 5:14 PM
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
g
gentle-tomato-480
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)
t
thankful-minister-83577
03/26/2024, 5:17 PM
let me take a look in a bit… that feels a bit weird.
g
gentle-tomato-480
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)