Skip to content

Commit 5aa12a6

Browse files
fix: Formatting
1 parent 6cf53c9 commit 5aa12a6

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

tests/unit/sagemaker/workflow/test_steps.py

+6-14
Original file line numberDiff line numberDiff line change
@@ -1081,13 +1081,10 @@ def test_compilation_step(sagemaker_session):
10811081
compile_max_run=100,
10821082
framework="tensorflow",
10831083
job_name="compile-model",
1084-
compiler_options=None
1084+
compiler_options=None,
10851085
)
10861086
compilation_step = CompilationStep(
1087-
name="MyCompilationStep",
1088-
estimator=estimator,
1089-
model=model,
1090-
inputs=compilation_input
1087+
name="MyCompilationStep", estimator=estimator, model=model, inputs=compilation_input
10911088
)
10921089

10931090
assert compilation_step.to_request() == {
@@ -1097,16 +1094,11 @@ def test_compilation_step(sagemaker_session):
10971094
"InputConfig": {
10981095
"DataInputConfig": '{"data": [1, 3, 1024, 1024]}',
10991096
"Framework": "TENSORFLOW",
1100-
"S3Uri": "s3://output/tensorflow.tar.gz"
1101-
},
1102-
"OutputConfig": {
1103-
"S3OutputLocation": "s3://output",
1104-
"TargetDevice": "ml_inf"
1097+
"S3Uri": "s3://output/tensorflow.tar.gz",
11051098
},
1099+
"OutputConfig": {"S3OutputLocation": "s3://output", "TargetDevice": "ml_inf"},
11061100
"RoleArn": ROLE,
1107-
"StoppingCondition": {
1108-
"MaxRuntimeInSeconds": 100
1109-
},
1110-
'Tags': []
1101+
"StoppingCondition": {"MaxRuntimeInSeconds": 100},
1102+
"Tags": [],
11111103
},
11121104
}

0 commit comments

Comments
 (0)