hi flyte team, I noticed that when flyte is running serialization of a python file. It will look at the all the files's imports transitively and register all the flyte entities.. I wonder if there is a way to avoid such behavior and change it to: only register task entities from other files and subworkflows. Basically if a workflow is not used in the workflow of the current file. It will be ignored.
Is there any drawbacks with such approach? The current behavior causes unexpected registration of unrelated worfflows for us.
cc: @future-monitor-58430@rapid-wall-26163
t
thankful-minister-83577
02/26/2025, 5:52 AM
i can’t think of a drawback off the top of my head, except maybe how this setting would be exposed to the user in a way that’s not confusing. would want to run this by eduardo or thomas as well