Skip to content

Commit a4c299f

Browse files
author
Shegufta Ahsan
committed
refactoring name as step_name
1 parent 26d7fd8 commit a4c299f

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
@@ -61,19 +61,19 @@ def to_request(self) -> RequestType:
6161
return config
6262

6363

64-
def validate_cluster_config(cluster_config, name):
64+
def validate_cluster_config(cluster_config, step_name):
6565
"""Validates user provided cluster_config.
6666
6767
Args:
6868
cluster_config(Union[Dict[str, Any], List[Dict[str, Any]]]):
6969
user provided cluster configuration.
70-
name: name of the EMR cluster.
70+
step_name: The name of the EMR step.
7171
"""
7272

7373
instances = "Instances"
7474
instancegroups = "InstanceGroups"
7575
instancefleets = "InstanceFleets"
76-
prefix_with_in = "In EMRStep " + name + ", "
76+
prefix_with_in = "In EMRStep " + step_name + ", "
7777

7878
if (
7979
"Name" in cluster_config

0 commit comments

Comments
 (0)