From 16e458864db1b6b4a893e8889e97144e4dce3a6f Mon Sep 17 00:00:00 2001 From: pollfly <75068813+pollfly@users.noreply.github.com> Date: Sun, 1 May 2022 10:12:15 +0300 Subject: [PATCH] Add note to pipeline example (#242) --- docs/guides/pipeline/pipeline_decorator.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/guides/pipeline/pipeline_decorator.md b/docs/guides/pipeline/pipeline_decorator.md index d5d40164..963f1e66 100644 --- a/docs/guides/pipeline/pipeline_decorator.md +++ b/docs/guides/pipeline/pipeline_decorator.md @@ -35,6 +35,11 @@ In the example script, the controller defines the interactions between the pipel 1. The second step's output, `preprocessed_data`, is modified within the pipeline execution logic 1. The modified data is passed to the third step, `step_three`. +:::info Local Execution +In this example, the pipeline is set to run in local mode by using the [PipelineDecorator.run_locally](../../references/sdk/automation_controller_pipelinecontroller.md#pipelinedecoratorrun_locally) +method before calling the pipeline function. See pipeline execution options [here](../../pipelines/pipelines_sdk_function_decorators.md#running-the-pipeline). +::: + ## Pipeline Steps Using the `@PipelineDecorator.component` decorator will make the function a pipeline component that can be called from the pipeline controller, which implements the pipeline's execution logic. For detailed information, see [`@PipelineDecorator.component`](../../references/sdk/automation_controller_pipelinecontroller.md#pipelinedecoratorcomponent).