Skip to content

Commit 16f4c1d

Browse files
author
Shegufta Ahsan
committed
updating the cluster_config type
1 parent 4946c86 commit 16f4c1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sagemaker/workflow/emr_step.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"""The step definitions for workflow."""
1414
from __future__ import absolute_import
1515

16-
from typing import List, Union, Optional
16+
from typing import Any, Dict, List, Union, Optional
1717

1818
from sagemaker.workflow.entities import (
1919
RequestType,
@@ -153,7 +153,7 @@ def __init__(
153153
step_config: EMRStepConfig,
154154
depends_on: Optional[List[Union[str, Step, StepCollection]]] = None,
155155
cache_config: CacheConfig = None,
156-
cluster_config: RequestType = None,
156+
cluster_config: Dict[str, Any] = None,
157157
):
158158
"""Constructs an EMRStep.
159159
@@ -167,7 +167,7 @@ def __init__(
167167
names or `Step` instances or `StepCollection` instances that this `EMRStep`
168168
depends on.
169169
cache_config(CacheConfig): A `sagemaker.workflow.steps.CacheConfig` instance.
170-
cluster_config(Union[Dict[str, Any], List[Dict[str, Any]]]): The recipe of the
170+
cluster_config(Dict[str, Any]): The recipe of the
171171
EMR cluster, passed as a dictionary. The elements are defined in the request syntax
172172
for RunJobFlow. However, the following elements are not recognized as part of the
173173
cluster configuration and you should not include them in the dictionary:

0 commit comments

Comments
 (0)