Source code for latch.resources.reference_workflow
from flytekit.core.launch_plan import reference_launch_plan
from latch.utils import current_workspace
[docs]def workflow_reference(
name: str,
version: str,
):
return reference_launch_plan(
project=current_workspace(),
domain="development",
name=name,
version=version,
)