flytekit.reference_launch_plan(project, domain, name, version)[source]

A reference launch plan is a pointer to a launch plan that already exists on your Flyte installation. This object will not initiate a network call to Admin, which is why the user is asked to provide the expected interface via the function definition.

If at registration time the interface provided causes an issue with compilation, an error will be returned.

  • project (str) – Flyte project name of the launch plan

  • domain (str) – Flyte domain name of the launch plan

  • name (str) – launch plan name

  • version (str) – specific version of the launch plan to use

Return type:

Callable[[Callable[[…], Any]], ReferenceLaunchPlan]