Skip to content

Commit ee72153

Browse files
committed
fix: datasetype Enum value in clarify processing output
1 parent fd48fa8 commit ee72153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/clarify.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@ def get_s3_upload_mode(cls, analysis_config: Dict[str, Any]) -> str:
21122112
dataset_type = analysis_config["dataset_type"]
21132113
return (
21142114
ProcessingOutputHandler.S3UploadMode.CONTINUOUS.value
2115-
if dataset_type == DatasetType.IMAGE
2115+
if dataset_type == DatasetType.IMAGE.value
21162116
else ProcessingOutputHandler.S3UploadMode.ENDOFJOB.value
21172117
)
21182118

0 commit comments

Comments
 (0)