@@ -105,8 +105,9 @@ def create(
105105 description (str): A description of the pipeline.
106106 tags (List[Dict[str, str]]): A list of {"Key": "string", "Value": "string"} dicts as
107107 tags.
108- parallelism_config (Optional[Config for parallel steps, Parallelism configuration that
109- is applied to each of. the executions
108+ parallelism_config (Optional[ParallelismConfiguration]): Parallelism configuration
109+ that is applied to each of the executions of the pipeline. It takes precedence
110+ over the parallelism configuration of the parent pipeline.
110111
111112 Returns:
112113 A response dict from the service.
@@ -130,8 +131,9 @@ def _create_args(
130131 Args:
131132 role_arn (str): The role arn that is assumed by pipelines to create step artifacts.
132133 description (str): A description of the pipeline.
133- parallelism_config (Optional[ParallelismConfiguration]): Config for parallel steps, that
134- is applied to each of the executions.
134+ parallelism_config (Optional[ParallelismConfiguration]): Parallelism configuration
135+ that is applied to each of the executions of the pipeline. It takes precedence
136+ over the parallelism configuration of the parent pipeline.
135137
136138 Returns:
137139 A keyword argument dict for calling create_pipeline.
@@ -188,8 +190,9 @@ def update(
188190 Args:
189191 role_arn (str): The role arn that is assumed by pipelines to create step artifacts.
190192 description (str): A description of the pipeline.
191- parallelism_config (Optional[ParallelismConfiguration]): Config for parallel steps, that
192- is applied to each of the executions.
193+ parallelism_config (Optional[ParallelismConfiguration]): Parallelism configuration
194+ that is applied to each of the executions of the pipeline. It takes precedence
195+ over the parallelism configuration of the parent pipeline.
193196
194197 Returns:
195198 A response dict from the service.
@@ -265,8 +268,9 @@ def start(
265268 pipeline parameters.
266269 execution_display_name (str): The display name of the pipeline execution.
267270 execution_description (str): A description of the execution.
268- parallelism_config (Optional[ParallelismConfiguration]): Config for parallel steps, that
269- is applied to each of the executions.
271+ parallelism_config (Optional[ParallelismConfiguration]): Parallelism configuration
272+ that is applied to each of the executions of the pipeline. It takes precedence
273+ over the parallelism configuration of the parent pipeline.
270274
271275 Returns:
272276 A `_PipelineExecution` instance, if successful.
0 commit comments