def get_launch_plan(self, id): """ Retrieves a launch plan entity. :param flytekit.models.core.identifier.Identifier id: unique identifier for launch plan to retrieve :rtype: flytekit.models.launch_plan.LaunchPlan """ return _launch_plan.LaunchPlan.from_flyte_idl( super(SynchronousFlyteClient, self).get_launch_plan( _common_pb2.ObjectGetRequest(id=id.to_flyte_idl())))
def get_workflow(self, id): """ This returns a single task for a given ID. :param flytekit.models.core.identifier.Identifier id: The ID representing a given task. :raises: TODO :rtype: flytekit.models.admin.workflow.Workflow """ return _workflow.Workflow.from_flyte_idl( super(SynchronousFlyteClient, self).get_workflow( _common_pb2.ObjectGetRequest(id=id.to_flyte_idl())))