flytekit.reference_task

flytekit.reference_task(project: str, domain: str, name: str, version: str)Callable[[Callable[[], Any]], flytekit.core.task.ReferenceTask][source]

A reference task is a pointer to a task 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. If at registration time the interface provided causes an issue with compilation, an error will be returned.