No, you cannot send a FlyteLaunchPlan as an input to a Flyte workflow. Flyte workflows require inputs to be serializable, strongly-typed values, and FlyteLaunchPlan is not a supported input type. There is no documentation or API support for passing a LaunchPlan object as a workflow input, and this is not mentioned as a valid use case in the Flyte type system or workflow interface documentation. Attempting to do so will result in type errors or serialization issues, as workflows are designed to accept only supported primitive types, collections, or custom data types, not Flyte entities like LaunchPlan objects themselves.
If you need to invoke a launch plan within a workflow, you can do so by calling it as a node in the workflow definition, but not by passing it as an input parameter. For more details, see the
Flyte documentation on tasks, workflows, and launch plans and the
Flyte type system blog post.
Would you like more detail or code examples?
Sources:
-
Flyte documentation on tasks, workflows, and launch plans
-
Flyte type system blog post 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.